Skip to content

Commit 4713d2f

Browse files
committed
Fix return command
1 parent e3e186d commit 4713d2f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Commands/PreCommitHook.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class PreCommitHook extends Command
2727
/**
2828
* Execute the console command.
2929
*
30-
* @return bool
30+
* @return int
3131
* @throws \JakubOnderka\PhpConsoleColor\InvalidStyleException
3232
*/
3333
public function handle()
@@ -61,7 +61,7 @@ public function handle()
6161

6262
$output->writeLine('Your code is perfect, no syntax error found!', TextOutputColored::TYPE_OK);
6363

64-
return true;
64+
return 0;
6565
}
6666

6767
/**

0 commit comments

Comments
 (0)