Passed
Push — main ( e80760...ee0f4a )
by Richard
05:13
created
src/Http/Controllers/PlayerController.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,9 @@
 block discarded – undo
36 36
     public function showWithName($name)
37 37
     {
38 38
         $player = Player::findByName($name);
39
-        if ($player != NULL)
40
-            return response($player, 200);
39
+        if ($player != NULL) {
40
+                    return response($player, 200);
41
+        }
41 42
         return response([
42 43
             'error' => 'No player found.'
43 44
         ], 400);
Please login to merge, or discard this patch.