Skip to content

Commit 9c31053

Browse files
committed
Correct language
1 parent 6f2d661 commit 9c31053

7 files changed

+10
-10
lines changed

src/Commands/DisableCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ public function handle()
3131

3232
$this->hooks->disable($name);
3333

34-
$this->info("Hook [{$name}] have been disabled.");
34+
$this->info("Hook [{$name}] has been disabled.");
3535
}
3636
}

src/Commands/EnableCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ public function handle()
3131

3232
$this->hooks->enable($name);
3333

34-
$this->info("Hook [{$name}] have been enabled.");
34+
$this->info("Hook [{$name}] has been enabled.");
3535
}
3636
}

src/Commands/InstallCommand.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ public function handle()
4040
if ($this->option('enable')) {
4141
$this->hooks->enable($name);
4242

43-
$this->info("Hook [{$name}] have been installed and enabled.");
43+
$this->info("Hook [{$name}] has been installed and enabled.");
4444
} else {
45-
$this->info("Hook [{$name}] have been installed.");
45+
$this->info("Hook [{$name}] has been installed.");
4646
}
4747
}
4848
}

src/Commands/MakeCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ public function handle()
3333

3434
$this->hooks->make($name);
3535

36-
$this->info("Hook [{$name}] have been made.");
36+
$this->info("Hook [{$name}] has been made.");
3737
}
3838
}

src/Commands/UninstallCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ public function handle()
3737
!$this->option('no-unpublish')
3838
);
3939

40-
$this->info("Hook [{$name}] have been uninstalled.");
40+
$this->info("Hook [{$name}] has been uninstalled.");
4141
}
4242
}

src/Commands/UpdateCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function handle()
4545
);
4646

4747
return $updated
48-
? $this->info("Hook [{$name}] have been updated!")
48+
? $this->info("Hook [{$name}] has been updated!")
4949
: $this->info('Nothing to update.');
5050
}
5151
}

src/Hooks.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -508,9 +508,9 @@ protected function makeStubFiles($name)
508508
{
509509
$replaces = [
510510
'kebab-case' => $name,
511-
'snake_case' => snake_case(str_replace('-', '_', $name)),
512-
'camelCase' => camel_case(str_replace('-', '_', $name)),
513-
'StudlyCase' => studly_case(str_replace('-', '_', $name)),
511+
'snake_case' => Str::snake(str_replace('-', '_', $name)),
512+
'camelCase' => Str::camel(str_replace('-', '_', $name)),
513+
'StudlyCase' => Str::studly(str_replace('-', '_', $name)),
514514
'MIGRATION_DATE_TIME' => $this->migrationDateTimeString(),
515515
];
516516

0 commit comments

Comments
 (0)