src/Evaluators/HighHandEvaluator.php
/**
    * Set Hand properties to be the Three of a Kind
    * 
    * @return void
    */
Set Hand properties to be the Three of a Kind

@return void
Set Hand properties to be the Three of a Kind @return void
protected function threeOfAKind(): void
    {
        $this->hand = array_merge(array_slice(reset($this->valueHistogram), 0, 3), array_slice(next($this->valueHistogram), 0, 1), array_slice(next($this->valueHistogram), 0, 1));
        $this->handRank = static::THREE_OF_A_KIND_RANK;
    }
protected function threeOfAKind ( ) : void { $ this -> hand = array_merge ( array_slice ( reset ( $ this -> valueHistogram ) , 0 , 3 ) , array_slice ( next ( $ this -> valueHistogram ) , 0 , 1 ) , array_slice ( next ( $ this -> valueHistogram ) , 0 , 1 ) ) ; $ this -> handRank = static :: THREE_OF_A_KIND_RANK ; }
Set Hand properties to be the Three of a Kind
Set Hand properties to be the Three of a Kind