final public static function compareValues ($firstValue, $secondValue) : int
	{
		if (!self::hasValue($firstValue, $secondValue)) new ErrorCode(1001);
	    return $firstValue <=> $secondValue;
	}
final public static function compareValues ($firstValue, $secondValue) : int
	{
		if (!self::hasValue($firstValue, $secondValue)) new ErrorCode(1001);
	    return $firstValue <=> $secondValue;
	}
final public static function compareValues ( $ firstValue , $ secondValue ) : int { if ( ! self :: hasValue ( $ firstValue , $ secondValue ) ) new ErrorCode ( 1001 ) ; return $ firstValue <=> $ secondValue ; }
Validates if first parameter is less than, equal to or greater than second parameter.
@param mixed $firstValue
@param mixed $secondValue
@return int
Validates if first parameter is less than equal to or greater than second parameter .