1
0
Fork 0
mirror of https://github.com/archtechx/airwire.git synced 2025-12-12 02:34:04 +00:00

Double backslashes

This commit is contained in:
Samuel Štancl 2021-05-23 18:08:00 +02:00 committed by GitHub
parent 32bdda3130
commit 6c7a761a60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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