diff --git a/src/Command/Command.php b/src/Command/Command.php index bb538e7c..59e18130 100644 --- a/src/Command/Command.php +++ b/src/Command/Command.php @@ -104,7 +104,7 @@ abstract class Command implements CommandInterface */ public static function normalizeArguments(array $arguments) { - if (count($arguments) === 1 && is_array($arguments[0])) { + if (count($arguments) === 1 && isset($arguments[0]) && is_array($arguments[0])) { return $arguments[0]; }