mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Modernize private static property declarations
This commit is contained in:
@ -27,8 +27,7 @@ use function spl_object_id;
|
||||
|
||||
class ThreadManager extends \Volatile{
|
||||
|
||||
/** @var ThreadManager|null */
|
||||
private static $instance = null;
|
||||
private static ?self $instance = null;
|
||||
|
||||
public static function init() : void{
|
||||
self::$instance = new ThreadManager();
|
||||
|
Reference in New Issue
Block a user