Skip to content

Commit 36f773b

Browse files
Fix some comment typos
1 parent e0eb3f2 commit 36f773b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Runner/Installer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)