Passed
Branch feature/optimize (466c7a)
by Fu
05:56
created
Providers/TelescopeServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 
21 21
         $this->hideSensitiveRequestDetails();
22 22
 
23
-        Telescope::filter(function (IncomingEntry $entry) {
23
+        Telescope::filter(function(IncomingEntry $entry) {
24 24
             if ($this->app->isLocal()) {
25 25
                 return true;
26 26
             }
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     protected function gate()
63 63
     {
64
-        Gate::define('viewTelescope', function ($user) {
64
+        Gate::define('viewTelescope', function($user) {
65 65
             return in_array($user->email, [
66 66
                 //
67 67
             ]);
Please login to merge, or discard this patch.
Providers/RepositoryFilterContainerProvider.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 register()
23 23
     {
24
-        $this->app->singleton(Filter::class, function () {
24
+        $this->app->singleton(Filter::class, function() {
25 25
             return new Filter();
26 26
         });
27 27
     }
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
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public function handle($request, Closure $next, $guard)
21 21
     {
22
-        app()->singleton('tymon.jwt.auth', function () use ($guard) {
22
+        app()->singleton('tymon.jwt.auth', function() use ($guard) {
23 23
             return new JWTAuth(app('tymon.jwt.manager'), new Illuminate(auth($guard)), app('tymon.jwt.parser'));
24 24
         });
25 25
 
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
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public function handle($request, Closure $next, $guard)
21 21
     {
22
-        app()->singleton('tymon.jwt.auth', function () use ($guard) {
22
+        app()->singleton('tymon.jwt.auth', function() use ($guard) {
23 23
             return new JWTAuth(app('tymon.jwt.manager'), new Illuminate(auth($guard)), app('tymon.jwt.parser'));
24 24
         });
25 25
 
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
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public function handle($request, Closure $next, $guard)
21 21
     {
22
-        app()->singleton('tymon.jwt.auth', function () use ($guard) {
22
+        app()->singleton('tymon.jwt.auth', function() use ($guard) {
23 23
             return new JWTAuth(app('tymon.jwt.manager'), new Illuminate(auth($guard)), app('tymon.jwt.parser'));
24 24
         });
25 25
 
Please login to merge, or discard this patch.