From 9778a36eb2673e1ce23b2688a3d32e58d5ea20a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sun, 23 May 2021 18:18:25 +0200 Subject: [PATCH] Use Str::kebab() instead of Str::snake() --- src/Commands/ComponentCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/ComponentCommand.php b/src/Commands/ComponentCommand.php index 4547e5e..7f8306d 100644 --- a/src/Commands/ComponentCommand.php +++ b/src/Commands/ComponentCommand.php @@ -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 {",