Use PHP 7.4 featers and PHP 8 polyfills
This commit is contained in:
@@ -35,10 +35,10 @@ class Limit_Customer_User_Role extends Limit {
|
||||
*/
|
||||
public static function default_state() {
|
||||
|
||||
return array(
|
||||
return [
|
||||
'enabled' => true,
|
||||
'limit' => 'default',
|
||||
);
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user