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 6e18230 commit dcf235eCopy full SHA for dcf235e
system/CLI/Commands.php
@@ -52,12 +52,12 @@ public function __construct($logger = null)
52
/**
53
* Runs a command given
54
*
55
- * @return int|null Exit code
+ * @return int Exit code
56
*/
57
public function run(string $command, array $params)
58
{
59
if (! $this->verifyCommand($command, $this->commands)) {
60
- return null;
+ return EXIT_ERROR;
61
}
62
63
// The file would have already been loaded during the
0 commit comments