Passed
Push — master ( eb6d38...49440b )
by Bertrand
08:06
created
app/Http/Controllers/Profile/CommentsController.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,9 @@
 block discarded – undo
14 14
     public function showComments(Request $request)
15 15
     {
16 16
         $userId = $request->input('user_id');
17
-        if (empty($userId))
18
-            $userId = Auth::user()->uuid;
17
+        if (empty($userId)) {
18
+                    $userId = Auth::user()->uuid;
19
+        }
19 20
 
20 21
         $comments = app(GetLastWikiUserComments::class)->get($userId);
21 22
         return view('users.profile.comments', [
Please login to merge, or discard this patch.