@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | protected function createMismatchMessage(FileDeclaration $fileDeclaration, ResponseInterface $response): string |
| 220 | 220 | { |
| 221 | 221 | $messageParts = array_map( |
| 222 | - function (StatusMessage $mismatch): string { |
|
| 222 | + function(StatusMessage $mismatch): string { |
|
| 223 | 223 | return vsprintf( |
| 224 | 224 | $mismatch->getMessage(), |
| 225 | 225 | $this->wrapValues($mismatch->getValues(), '<code>', '</code>') |
@@ -256,7 +256,7 @@ discard block |
||
| 256 | 256 | protected function wrapItems(array $items, string $before, string $after): array |
| 257 | 257 | { |
| 258 | 258 | return array_map( |
| 259 | - function (string $item) use ($before, $after): string { |
|
| 259 | + function(string $item) use ($before, $after): string { |
|
| 260 | 260 | return $before . $item . $after; |
| 261 | 261 | }, |
| 262 | 262 | array_filter($items) |
@@ -266,7 +266,7 @@ discard block |
||
| 266 | 266 | protected function wrapValues(array $values, string $before, string $after): array |
| 267 | 267 | { |
| 268 | 268 | return array_map( |
| 269 | - function (string $value) use ($before, $after): string { |
|
| 269 | + function(string $value) use ($before, $after): string { |
|
| 270 | 270 | return $this->wrapValue($value, $before, $after); |
| 271 | 271 | }, |
| 272 | 272 | array_filter($values) |