mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 00:55:14 +00:00
Modernize private static property declarations
This commit is contained in:
@ -27,8 +27,7 @@ use function count;
|
||||
use function spl_object_id;
|
||||
|
||||
class PermissionManager{
|
||||
/** @var PermissionManager|null */
|
||||
private static $instance = null;
|
||||
private static ?self $instance = null;
|
||||
|
||||
public static function getInstance() : PermissionManager{
|
||||
if(self::$instance === null){
|
||||
|
Reference in New Issue
Block a user