File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,18 @@ public function register(): void
2222 $ channels = $ event ->broadcastOn ();
2323
2424 // Only events dispatched on the nativephp channel
25- if (! in_array ('nativephp ' , $ channels )) {
25+ if (! in_array ('nativephp ' , $ channels )) {
2626 return ;
2727 }
2828
2929 // Only post custom events to broadcasting endpoint
30- if (str_starts_with ($ eventName , 'Native \\Laravel \\Events ' )) {
30+ if (str_starts_with ($ eventName, 'Native \\Laravel \\Events ' )) {
3131 return ;
3232 }
3333
3434 $ this ->client ->post ('broadcast ' , [
3535 'event ' => "\\{$ eventName }" ,
36- 'payload ' => $ event
36+ 'payload ' => $ event,
3737 ]);
3838 });
3939 }
Original file line number Diff line number Diff line change 1010use Native \Laravel \Commands \MigrateCommand ;
1111use Native \Laravel \Commands \MinifyApplicationCommand ;
1212use Native \Laravel \Commands \SeedDatabaseCommand ;
13- use Native \Laravel \Logging \LogWatcher ;
1413use Native \Laravel \Events \EventWatcher ;
14+ use Native \Laravel \Logging \LogWatcher ;
1515use Spatie \LaravelPackageTools \Package ;
1616use Spatie \LaravelPackageTools \PackageServiceProvider ;
1717
You can’t perform that action at this time.
0 commit comments