@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | #!/bin/sh |
25 | 25 | |
26 | 26 | vendor/bin/git-lint-validators git-lint-validator:hook $1 |
27 | -CONTENT; |
|
27 | +content; |
|
28 | 28 | |
29 | 29 | const TEMPLATE_CONTENTS = <<<CONTENT |
30 | 30 | Subject line |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | # - Use the subject body to explain what and why vs. how |
39 | 39 | # - Wrap the subject body at 72 characters |
40 | 40 | |
41 | -CONTENT; |
|
41 | +content; |
|
42 | 42 | |
43 | 43 | /** |
44 | 44 | * Installs and activates the Git commit message |
@@ -155,7 +155,7 @@ |
||
155 | 155 | * @param string $message The message to error. |
156 | 156 | * @param IOInterface $io The Input/Output helper interface. |
157 | 157 | * |
158 | - * @return mixed |
|
158 | + * @return false|string |
|
159 | 159 | */ |
160 | 160 | private static function getGuardedGitDirectory($message, IOInterface $io) |
161 | 161 | { |