Skip to content

Commit

Permalink
Merge pull request #99 from erikn69/patch-5
Browse files Browse the repository at this point in the history
Fix install command on Laravel 10.x breaking change
  • Loading branch information
freekmurze authored Apr 25, 2023
2 parents 356b19f + e5a52b3 commit 42737fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ protected function copyServiceProviderInApp(): self
}

file_put_contents(config_path('app.php'), str_replace(
"Illuminate\\View\ViewServiceProvider::class,",
"Illuminate\\View\ViewServiceProvider::class," . PHP_EOL . " {$namespace}\Providers\\" . $providerName . "::class,",
"{$namespace}\\Providers\\BroadcastServiceProvider::class,",
"{$namespace}\\Providers\\BroadcastServiceProvider::class," . PHP_EOL . " {$namespace}{$class},",
$appConfig
));

Expand Down

0 comments on commit 42737fa

Please sign in to comment.