|
|
@ -27,7 +27,7 @@ class CommandCall {
|
|
|
|
* @param string|Command $commandName The new command name
|
|
|
|
* @param string|Command $commandName The new command name
|
|
|
|
* @param null|Arrayy<string, mixed> $commandArguments The command new arguments
|
|
|
|
* @param null|Arrayy<string, mixed> $commandArguments The command new arguments
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public function __construct ($commandName, ?Arrayy $commandArguments) {
|
|
|
|
public function __construct ($commandName, ?Arrayy $commandArguments = null) {
|
|
|
|
$this->setCommandName($commandName);
|
|
|
|
$this->setCommandName($commandName);
|
|
|
|
$this->setCommandArguments($commandArguments ?? new Arrayy());
|
|
|
|
$this->setCommandArguments($commandArguments ?? new Arrayy());
|
|
|
|
}
|
|
|
|
}
|
|
|
|