1
0
Fork 0
mirror of https://github.com/archtechx/airwire.git synced 2025-12-12 02:34:04 +00:00

Use Str::kebab() instead of Str::snake()

This commit is contained in:
Samuel Štancl 2021-05-23 18:18:25 +02:00 committed by GitHub
parent c181c86cd4
commit 9778a36eb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ class ComponentCommand extends Command
try {
$path = app_path('Providers/AppServiceProvider.php');
$snake = Str::snake($name);
$snake = Str::kebab($name);
file_put_contents($path, str_replace(
"function boot()\n {",