Passed
Branch feature/optimize (59bef3)
by Fu
02:42
created
Providers/CoreServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
             $sourcePath => $viewPath,
88 88
         ], 'views');
89 89
 
90
-        $this->loadViewsFrom(array_merge(array_map(function ($path) {
90
+        $this->loadViewsFrom(array_merge(array_map(function($path) {
91 91
             return $path.'/modules/core';
92 92
         }, Config::get('view.paths')), [$sourcePath]), 'core');
93 93
     }
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 
138 138
     public function registerObservers()
139 139
     {
140
-        Event::/** @scrutinizer ignore-call */ listen(RepositoryEventBase::class, function (
140
+        Event::/** @scrutinizer ignore-call */ listen(RepositoryEventBase::class, function(
141 141
             RepositoryEventBase $repositoryEntityCreated
142 142
         ) {
143 143
             $model = $repositoryEntityCreated->getModel();
Please login to merge, or discard this patch.
Http/Middleware/RefreshToken.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function handle($request, Closure $next, $guard)
24 24
     {
25
-        app()->singleton('tymon.jwt.auth', function () use ($guard) {
25
+        app()->singleton('tymon.jwt.auth', function() use ($guard) {
26 26
             /** @var GuardContract $auth */
27 27
             $auth = auth($guard);
28 28
             return new JWTAuth(app('tymon.jwt.manager'), new Illuminate($auth), app('tymon.jwt.parser'));
Please login to merge, or discard this patch.
Http/Middleware/Authenticate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     public function handle($request, Closure $next, $guard)
22 22
     {
23
-        app()->singleton('tymon.jwt.auth', function () use ($guard) {
23
+        app()->singleton('tymon.jwt.auth', function() use ($guard) {
24 24
             /** @var GuardContract $auth */
25 25
             $auth = auth($guard);
26 26
             return new JWTAuth(app('tymon.jwt.manager'), new Illuminate($auth), app('tymon.jwt.parser'));
Please login to merge, or discard this patch.
Http/Middleware/Check.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     public function handle($request, Closure $next, $guard)
23 23
     {
24
-        app()->singleton('tymon.jwt.auth', function () use ($guard) {
24
+        app()->singleton('tymon.jwt.auth', function() use ($guard) {
25 25
             /** @var GuardContract $auth */
26 26
             $auth = auth($guard);
27 27
             return new JWTAuth(app('tymon.jwt.manager'), new Illuminate($auth), app('tymon.jwt.parser'));
Please login to merge, or discard this patch.
Http/Middleware/AuthenticateAndRenew.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     public function handle($request, Closure $next, $guard)
22 22
     {
23
-        app()->singleton('tymon.jwt.auth', function () use ($guard) {
23
+        app()->singleton('tymon.jwt.auth', function() use ($guard) {
24 24
             /** @var GuardContract $auth */
25 25
             $auth = auth($guard);
26 26
             return new JWTAuth(app('tymon.jwt.manager'), new Illuminate($auth), app('tymon.jwt.parser'));
Please login to merge, or discard this patch.