refactored argument handling

This commit is contained in:
tracer 2022-09-17 18:57:23 +02:00
parent b48758bf82
commit 123d054c8d
1 changed files with 2 additions and 2 deletions

View File

@ -68,11 +68,11 @@ class BindAPI
* @throws \DI\DependencyException
* @throws \DI\NotFoundException
*/
public function runCommand(int $argumentsCount, array $arguments): void
public function runCommand(array $arguments): void
{
$this->logger->debug(message: 'runCommand()');
$cliController = $this->container->get(name: CLIController::class);
$cliController->runCommand(argumentsCount: $argumentsCount, arguments: $arguments);
$cliController->runCommand(arguments: $arguments);
}