diff --git a/src/Commands/InstallCommand.php b/src/Commands/InstallCommand.php index 0fcddf3..5ed464d 100644 --- a/src/Commands/InstallCommand.php +++ b/src/Commands/InstallCommand.php @@ -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 ));