Completed
Pull Request — master (#416)
by
unknown
01:40
created
src/Tools/ResponseResolver.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,9 +50,9 @@
 block discarded – undo
50 50
             /** @var JsonResponse|array|null $response */
51 51
             $response = $strategy($this->route, $tags, $routeProps);
52 52
 
53
-            if (! is_null($response)) {
53
+            if (!is_null($response)) {
54 54
                 if (is_array($response)) {
55
-                    return array_map(function (JsonResponse $response) {
55
+                    return array_map(function(JsonResponse $response) {
56 56
                         return ['status' => $response->getStatusCode(), 'content' => $this->getResponseContent($response)];
57 57
                     }, $response);
58 58
                 }
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     }
64 64
 
65 65
     /**
66
-     * @param $route
66
+     * @param Route $route
67 67
      * @param $tags
68 68
      * @param $routeProps
69 69
      *
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     }
76 76
 
77 77
     /**
78
-     * @param $response
78
+     * @param JsonResponse $response
79 79
      *
80 80
      * @return mixed
81 81
      */
Please login to merge, or discard this patch.