From ffca4b4c9298b44a431eb0dc35ff2e4bf0025fed Mon Sep 17 00:00:00 2001 From: Frankie Wittevrongel Date: Sun, 10 Jan 2021 21:21:30 +0000 Subject: [PATCH] `BuildCommand::run()` does not return exit code `BuildCommand::run()` should return the command exit code, but instead returns void. This violates the return type of the parent class. --- src/Commands/BuildCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/BuildCommand.php b/src/Commands/BuildCommand.php index 7bb2ed55..db4988d1 100644 --- a/src/Commands/BuildCommand.php +++ b/src/Commands/BuildCommand.php @@ -76,7 +76,7 @@ public function handle() */ public function run(InputInterface $input, OutputInterface $output) { - parent::run($input, $this->originalOutput = $output); + return parent::run($input, $this->originalOutput = $output); } /**