src/Chippyash/Type/Number/Rational/RationalTypeFactory.php
private static function throwCreateException($numerator, $denominator)
    {
        $typeN = gettype($numerator);
        $typeD = gettype($denominator);
        throw new InvalidTypeException("{$typeN}:{$typeD} for Rational type construction");
    }
private static function throwCreateException($numerator, $denominator)
    {
        $typeN = gettype($numerator);
        $typeD = gettype($denominator);
        throw new InvalidTypeException("{$typeN}:{$typeD} for Rational type construction");
    }
private static function throwCreateException ( $ numerator , $ denominator ) { $ typeN = gettype ( $ numerator ) ; $ typeD = gettype ( $ denominator ) ; throw new InvalidTypeException ( "{$typeN}:{$typeD} for Rational type construction" ) ; }
Throw a create exception

@param $numerator
@param $denominator

@throws InvalidTypeException
Throw a create exception