@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | */ |
| 33 | 33 | protected function getFileResponses(array $tags) |
| 34 | 34 | { |
| 35 | - $responseFileTags = array_filter($tags, function ($tag) { |
|
| 35 | + $responseFileTags = array_filter($tags, function($tag) { |
|
| 36 | 36 | return $tag instanceof Tag && strtolower($tag->getName()) === 'responsefile'; |
| 37 | 37 | }); |
| 38 | 38 | |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | return; |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - return array_map(function (Tag $responseFileTag) { |
|
| 43 | + return array_map(function(Tag $responseFileTag) { |
|
| 44 | 44 | preg_match('/^(\d{3})?\s?([\s\S]*)$/', $responseFileTag->getContent(), $result); |
| 45 | 45 | |
| 46 | 46 | $status = $result[1] ?: 200; |