public static function assert($value, $varName) {
        return !is_int($value) && $value !== null ? Exceptions::InvalidTypeException('MaybeInt', $varName, $value) : $value;
    }
public static function assert($value, $varName) {
        return !is_int($value) && $value !== null ? Exceptions::InvalidTypeException('MaybeInt', $varName, $value) : $value;
    }
public static function assert ( $ value , $ varName ) { return ! is_int ( $ value ) && $ value !== null ? Exceptions :: InvalidTypeException ( 'MaybeInt' , $ varName , $ value ) : $ value ; }
Asserts if the given value is a maybe int

@param  mixed  $value
@param  string $varName
@return int|null
@throws InvalidTypeException

@SuppressWarnings("PHPMD.StaticAccess")
Asserts if the given value is a maybe int