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) ));