diff --git a/src/CliProgram/CommandCall/CommandCall.php b/src/CliProgram/CommandCall/CommandCall.php index 41eae1f..46258fc 100644 --- a/src/CliProgram/CommandCall/CommandCall.php +++ b/src/CliProgram/CommandCall/CommandCall.php @@ -27,7 +27,7 @@ class CommandCall { * @param string|Command $commandName The new command name * @param null|Arrayy $commandArguments The command new arguments */ - public function __construct (string|Command $commandName, ?Arrayy $commandArguments) { + public function __construct (string|Command $commandName, ?Arrayy $commandArguments = null) { $this->setCommandName($commandName); $this->setCommandArguments($commandArguments ?? new Arrayy()); }