|
@@ -48,8 +48,8 @@ |
|
|
block discarded – undo |
|
48
|
48
|
/** @var Response[]|null $response */ |
|
49
|
49
|
$responses = $strategy($this->route, $tags, $routeProps); |
|
50
|
50
|
|
|
51
|
|
- if (! is_null($responses)) { |
|
52
|
|
- return array_map(function (Response $response) { |
|
|
51
|
+ if (!is_null($responses)) { |
|
|
52
|
+ return array_map(function(Response $response) { |
|
53
|
53
|
return ['status' => $response->getStatusCode(), 'content' => $this->getResponseContent($response)]; |
|
54
|
54
|
}, $responses); |
|
55
|
55
|
} |
Please login to merge, or discard this patch.