We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dce46ba commit b1ca858Copy full SHA for b1ca858
2 files changed
src/AsCommand.php
@@ -63,6 +63,6 @@ public function handle()
63
$instance->setOutput($this->output);
64
}
65
66
- return (fn ($method) => $this->{$method}(...$parameters))->call($instance, $this->method);
+ (fn ($method) => $this->{$method}(...$parameters))->call($instance, $this->method);
67
68
src/ClosureCommand.php
@@ -58,7 +58,7 @@ public function handle()
58
$inputs = array_merge($this->input->getArguments(), $this->input->getOptions());
59
$parameters = $this->parameterParser->parseClosureParameters($this->closure, $inputs);
60
61
- return $this->closure->call($this, ...$parameters);
+ $this->closure->call($this, ...$parameters);
62
public function describe(string $description): self
0 commit comments