Skip to content

Commit

Permalink
fix AbstractGenerateCommand return value
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhard-efler committed Sep 6, 2021
1 parent 880880a commit 81d5810
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Console/AbstractGenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ protected function execute(InputInterface $input, OutputInterface $output)

if (empty($metadatas)) {
$ui->success('No Metadata Classes to process.');
return;
return 0;
}

foreach ($this->getGenerators() as $generator) {
Expand All @@ -189,5 +189,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
}
}
}

return 0;
}
}

0 comments on commit 81d5810

Please sign in to comment.