File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ public function run(): void
158158 public function getHooksToInstall (): array
159159 {
160160 $ hooks = $ this ->getHooksToHandle ();
161- // if only enabled hooks should be installed remove disabled ones from $hooks array
161+ // if only enabled hooks should be installed, remove disabled ones from the $hooks array
162162 if ($ this ->onlyEnabled ) {
163163 $ hooks = array_filter (
164164 $ hooks ,
@@ -225,7 +225,7 @@ private function writeHookFile(string $hook): void
225225 $ hookFile = $ hooksDir . DIRECTORY_SEPARATOR . $ hook ;
226226 $ doIt = true ;
227227
228- // if hook is configured and no force option is set
228+ // if a hook is configured and no force option is set,
229229 // ask the user if overwriting the hook is ok
230230 if ($ this ->needConfirmation ($ hook )) {
231231 $ ans = $ this ->io ->ask (
You can’t perform that action at this time.
0 commit comments