Skip to content

Commit

Permalink
Php 8 (#210)
Browse files Browse the repository at this point in the history
* Php 8 support.

* Remove php 8 from travis.
  • Loading branch information
Rodrigo committed Sep 27, 2020
1 parent a6e3d13 commit 5b8fef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CommandProcessor.php
Expand Up @@ -254,7 +254,7 @@ protected function runCommandCallback($commandCallback, CommandData $commandData
$result = false;
try {
$args = $this->parameterInjection()->args($commandData);
$result = call_user_func_array($commandCallback, $args);
$result = call_user_func_array($commandCallback, array_values($args));
} catch (\Exception $e) {
$result = $this->commandErrorForException($e);
}
Expand Down

0 comments on commit 5b8fef7

Please sign in to comment.