@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | */ |
30 | 30 | public function __construct(Factory $auth) |
31 | 31 | { |
32 | - $this->auth = $auth; |
|
32 | + $this->auth=$auth; |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | /** |
@@ -46,12 +46,12 @@ discard block |
||
46 | 46 | return $next($request); |
47 | 47 | } |
48 | 48 | |
49 | - if (! $this->sentryIsBound()) { |
|
49 | + if (!$this->sentryIsBound()) { |
|
50 | 50 | return $next($request); |
51 | 51 | } |
52 | 52 | |
53 | 53 | configureScope( |
54 | - function (Scope $scope): void { |
|
54 | + function(Scope $scope): void { |
|
55 | 55 | $scope->setUser($this->resolveUserContext($this->auth->getDefaultDriver(), $this->auth->guard()->user())); |
56 | 56 | } |
57 | 57 | ); |