We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e3e186d + 4713d2f commit 27ccbdcCopy full SHA for 27ccbdc
1 file changed
src/Commands/PreCommitHook.php
@@ -27,7 +27,7 @@ class PreCommitHook extends Command
27
/**
28
* Execute the console command.
29
*
30
- * @return bool
+ * @return int
31
* @throws \JakubOnderka\PhpConsoleColor\InvalidStyleException
32
*/
33
public function handle()
@@ -61,7 +61,7 @@ public function handle()
61
62
$output->writeLine('Your code is perfect, no syntax error found!', TextOutputColored::TYPE_OK);
63
64
- return true;
+ return 0;
65
}
66
67
0 commit comments