src/Matcher/ToBeA.php
public static function expected($expected)
    {
        if ($expected === 'bool') {
            $expected = 'boolean';
        }
        if ($expected === 'int') {
            $expected = 'integer';
        }
        if ($expected === 'float') {
            $expected = 'double';
        }
        return strtolower($expected);
    }
public static function expected($expected)
    {
        if ($expected === 'bool') {
            $expected = 'boolean';
        }
        if ($expected === 'int') {
            $expected = 'integer';
        }
        if ($expected === 'float') {
            $expected = 'double';
        }
        return strtolower($expected);
    }
public static function expected ( $ expected ) { if ( $ expected === 'bool' ) { $ expected = 'boolean' ; } if ( $ expected === 'int' ) { $ expected = 'integer' ; } if ( $ expected === 'float' ) { $ expected = 'double' ; } return strtolower ( $ expected ) ; }
Normalises the expected value.

@param  mixed $expected The expected value to be normalized.
@return mixed           The normalized value.
Normalises the expected value .