mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 04:06:54 +00:00
Modernize property declarations in pocketmine\command namespace
This commit is contained in:
@@ -84,11 +84,7 @@ class SimpleCommandMap implements CommandMap{
|
||||
/** @var Command[] */
|
||||
protected $knownCommands = [];
|
||||
|
||||
/** @var Server */
|
||||
private $server;
|
||||
|
||||
public function __construct(Server $server){
|
||||
$this->server = $server;
|
||||
public function __construct(private Server $server){
|
||||
$this->setDefaultCommands();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user