From 6c7a761a6059850f735a96eaeb11940ff6652901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sun, 23 May 2021 18:08:00 +0200 Subject: [PATCH] Double backslashes --- 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 5571d82..4547e5e 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}', \App\Airwire\{$name}::class);", + "function boot()\n {\n \\Airwire\\Airwire::component('{$snake}', \\App\\Airwire\\{$name}::class);", file_get_contents($path) ));