updated composer
This commit is contained in:
+3
-3
@@ -11,12 +11,12 @@
|
||||
|
||||
use Symfony\Polyfill\Php80 as p;
|
||||
|
||||
if (PHP_VERSION_ID >= 80000) {
|
||||
if (\PHP_VERSION_ID >= 80000) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!defined('FILTER_VALIDATE_BOOL') && defined('FILTER_VALIDATE_BOOLEAN')) {
|
||||
define('FILTER_VALIDATE_BOOL', FILTER_VALIDATE_BOOLEAN);
|
||||
define('FILTER_VALIDATE_BOOL', \FILTER_VALIDATE_BOOLEAN);
|
||||
}
|
||||
|
||||
if (!function_exists('fdiv')) {
|
||||
@@ -38,5 +38,5 @@ if (!function_exists('get_debug_type')) {
|
||||
function get_debug_type($value): string { return p\Php80::get_debug_type($value); }
|
||||
}
|
||||
if (!function_exists('get_resource_id')) {
|
||||
function get_resource_id($res): int { return p\Php80::get_resource_id($res); }
|
||||
function get_resource_id($resource): int { return p\Php80::get_resource_id($resource); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user