mirror of
https://github.com/archtechx/airwire.git
synced 2025-12-12 02:34:04 +00:00
Double backslashes
This commit is contained in:
parent
32bdda3130
commit
6c7a761a60
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue