File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class ExpoPushNotificationsServiceProvider extends ServiceProvider
1616 *
1717 * @return void
1818 */
19- public function boot (\ Illuminate \ Routing \ Router $ router )
19+ public function boot ()
2020 {
2121 $ this ->setupConfig ();
2222
@@ -29,8 +29,9 @@ public function boot(\Illuminate\Routing\Router $router)
2929 ->give (function () use ($ repository ) {
3030 return new Expo (new ExpoRegistrar ($ repository ));
3131 });
32-
33- $ router ->middlewareGroup ('expo.middleware ' , config ("exponent-push-notifications " )["middleware " ]);
32+
33+ $ router = $ this ->app ['router ' ];
34+ $ router ->middlewareGroup ('expo.middleware ' , config ('exponent-push-notifications ' )['middleware ' ]);
3435
3536 $ this ->loadRoutesFrom (__DIR__ .'/Http/routes.php ' );
3637 }
You can’t perform that action at this time.
0 commit comments