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
158
158
public function getHooksToInstall (): array
159
159
{
160
160
$ 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
162
162
if ($ this ->onlyEnabled ) {
163
163
$ hooks = array_filter (
164
164
$ hooks ,
@@ -225,7 +225,7 @@ private function writeHookFile(string $hook): void
225
225
$ hookFile = $ hooksDir . DIRECTORY_SEPARATOR . $ hook ;
226
226
$ doIt = true ;
227
227
228
- // if hook is configured and no force option is set
228
+ // if a hook is configured and no force option is set,
229
229
// ask the user if overwriting the hook is ok
230
230
if ($ this ->needConfirmation ($ hook )) {
231
231
$ ans = $ this ->io ->ask (
You can’t perform that action at this time.
0 commit comments