|
@@ -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 [ |
|
54
|
54
|
'headers' => $response->headers, |
|
55
|
55
|
'statusText' => Response::$statusTexts[$response->getStatusCode()], |
Please login to merge, or discard this patch.