src/Core/Identification.php
public function setRank($rank)
    {
        if (! is_int($rank)) {
            throw new \InvalidArgumentException(
                'Argument 1 must be an int value. Valued passed is of type ' . gettype($rank));
        }
        
        $this->rank = $rank;
    }
public function setRank($rank)
    {
        if (! is_int($rank)) {
            throw new \InvalidArgumentException(
                'Argument 1 must be an int value. Valued passed is of type ' . gettype($rank));
        }
        
        $this->rank = $rank;
    }
public function setRank ( $ rank ) { if ( ! is_int ( $ rank ) ) { throw new \ InvalidArgumentException ( 'Argument 1 must be an int value. Valued passed is of type ' . gettype ( $ rank ) ) ; } $ this -> rank = $ rank ; }
Sets the rank for this instance

@param int $rank
Rank value to set too
Sets the rank for this instance