Use PHP 7.4 featers and PHP 8 polyfills

This commit is contained in:
David Stone
2025-02-08 13:57:32 -07:00
parent 8bea6067cd
commit b41dc2b2eb
550 changed files with 15270 additions and 14627 deletions

View File

@ -46,7 +46,7 @@ function wu_rest_get_endpoint_schema($class_name, $context = 'create', $force_ge
$from_cache = false;
$schema = array();
$schema = [];
$endpoint = wu_rest_get_endpoint_from_class_name($class_name);