@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | |
| 67 | 67 | array_walk( |
| 68 | 68 | $methods, |
| 69 | - function ($method) use ($decoder) { |
|
| 69 | + function($method) use ($decoder) { |
|
| 70 | 70 | $method = strtoupper(trim($method)); |
| 71 | 71 | |
| 72 | 72 | if (!$this->methodCarriesBody($method)) { |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | { |
| 154 | 154 | return array_reduce( |
| 155 | 155 | $array, |
| 156 | - function ($carry, $item) { |
|
| 156 | + function($carry, $item) { |
|
| 157 | 157 | return is_array($item) ? array_merge($carry, $this->flatten($item)) : array_merge($carry, [$item]); |
| 158 | 158 | }, |
| 159 | 159 | [] |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | if (!$parsedBody instanceof \SimpleXMLElement) { |
| 47 | 47 | // @codeCoverageIgnoreStart |
| 48 | 48 | $errors = array_map( |
| 49 | - function (\LibXMLError $error) { |
|
| 49 | + function(\LibXMLError $error) { |
|
| 50 | 50 | return '"' . $error->message . '"'; |
| 51 | 51 | }, |
| 52 | 52 | libxml_get_errors() |