src/RunOpenCode/ExchangeRate/Exception/ExchangeRateException.php
public static function typeOf($arg) {

        if (null === $arg) {
            return 'NULL';
        }

        if (is_object($arg)) {
            return get_class($arg);
        }

        return gettype($arg);
    }
public static function typeOf($arg) {

        if (null === $arg) {
            return 'NULL';
        }

        if (is_object($arg)) {
            return get_class($arg);
        }

        return gettype($arg);
    }
Get type of argument for exception messages.

@param $arg
@return string