mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 04:06:54 +00:00
Fixed PHPStan errors
This commit is contained in:
@@ -249,7 +249,7 @@ class SimpleCommandMap implements CommandMap{
|
||||
|
||||
foreach($commandStrings as $commandString){
|
||||
$args = CommandStringHelper::parseQuoteAware($commandString);
|
||||
$commandName = array_shift($args);
|
||||
$commandName = array_shift($args) ?? "";
|
||||
$command = $this->getCommand($commandName);
|
||||
|
||||
if($command === null){
|
||||
|
Reference in New Issue
Block a user