Passed
Push — master ( 3a19a0...8723d8 )
by Adam
10:14
created
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,10 +87,10 @@  discard block
 block discarded – undo
87 87
         });
88 88
 
89 89
         // we use model instead of repository to avoid putting global criteria to all methods in repository
90
-        $this->router->bind('user_trashed', fn ($id) => User::withTrashed()->findOrFail($id));
90
+        $this->router->bind('user_trashed', fn($id) => User::withTrashed()->findOrFail($id));
91 91
 
92 92
         // we use model instead of repository to avoid putting global criteria to all methods in repository
93
-        $this->router->bind('topic_trashed', fn ($id) => Topic::withTrashed()->findOrFail($id));
93
+        $this->router->bind('topic_trashed', fn($id) => Topic::withTrashed()->findOrFail($id));
94 94
 
95 95
         $this->router->bind('topic', function ($id) {
96 96
             $user = $this->getCurrentRequest()->user();
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
             return Topic::findOrFail($id);
103 103
         });
104 104
 
105
-        $this->router->bind('any_microblog', fn ($id) => Microblog::withoutGlobalScopes()->findOrFail($id));
105
+        $this->router->bind('any_microblog', fn($id) => Microblog::withoutGlobalScopes()->findOrFail($id));
106 106
 
107 107
         parent::boot();
108 108
     }
Please login to merge, or discard this patch.