Use PHP 7.4 featers and PHP 8 polyfills
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user