src/Expectation/Matcher/TypeMatcher.php
public function match($actual)
    {
        $this->actual = gettype($actual);

        return ($this->actual === $this->expected);
    }
public function match($actual)
    {
        $this->actual = gettype($actual);

        return ($this->actual === $this->expected);
    }
public function match ( $ actual ) { $ this -> actual = gettype ( $ actual ) ; return ( $ this -> actual === $ this -> expected ) ; }
Compares the type of the passed argument to the expected type. Returns
true if the two values are of the same type, false otherwise.

@param  mixed   $actual The value to test
@return boolean Whether or not the value has the expected type
Compares the type of the passed argument to the expected type . Returns true if the two values are of the same type false otherwise .