refactored argument handling
This commit is contained in:
parent
b48758bf82
commit
123d054c8d
|
@ -68,11 +68,11 @@ class BindAPI
|
||||||
* @throws \DI\DependencyException
|
* @throws \DI\DependencyException
|
||||||
* @throws \DI\NotFoundException
|
* @throws \DI\NotFoundException
|
||||||
*/
|
*/
|
||||||
public function runCommand(int $argumentsCount, array $arguments): void
|
public function runCommand(array $arguments): void
|
||||||
{
|
{
|
||||||
$this->logger->debug(message: 'runCommand()');
|
$this->logger->debug(message: 'runCommand()');
|
||||||
$cliController = $this->container->get(name: CLIController::class);
|
$cliController = $this->container->get(name: CLIController::class);
|
||||||
$cliController->runCommand(argumentsCount: $argumentsCount, arguments: $arguments);
|
$cliController->runCommand(arguments: $arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue