Skip to content

Commit

Permalink
use app helper
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Apr 5, 2021
1 parent e3478de commit 3d1e6bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PassportServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ protected function registerGuard()
Auth::resolved(function ($auth) {
$auth->extend('passport', function ($app, $name, array $config) {
return tap($this->makeGuard($config), function ($guard) {
$this->app->refresh('request', $guard, 'setRequest');
app()->refresh('request', $guard, 'setRequest');
});
});
});
Expand Down

0 comments on commit 3d1e6bb

Please sign in to comment.