From 32bdda31309fa284e26c36507e29743bbe674658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sun, 23 May 2021 18:04:59 +0200 Subject: [PATCH] Use fully qualified class names --- 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 12fed7b..5571d82 100644 --- a/src/Commands/ComponentCommand.php +++ b/src/Commands/ComponentCommand.php @@ -46,7 +46,7 @@ class ComponentCommand extends Command file_put_contents($path, str_replace( "function boot()\n {", - "function boot()\n {\n \Airwire\Airwire::component('{$snake}', {$name}::class);", + "function boot()\n {\n \Airwire\Airwire::component('{$snake}', \App\Airwire\{$name}::class);", file_get_contents($path) ));