Modernize property declarations in pocketmine\command namespace

This commit is contained in:
Dylan K. Taylor
2022-04-25 13:09:14 +01:00
parent 72cff0ee11
commit dca457b1e0
4 changed files with 11 additions and 24 deletions

View File

@@ -31,8 +31,7 @@ use pocketmine\plugin\PluginOwnedTrait;
final class PluginCommand extends Command implements PluginOwned{
use PluginOwnedTrait;
/** @var CommandExecutor */
private $executor;
private CommandExecutor $executor;
public function __construct(string $name, Plugin $owner, CommandExecutor $executor){
parent::__construct($name);