Completed
Push — master ( 26a7cc...2480dc )
by Julián
02:01
created
src/Parser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             []
Please login to merge, or discard this patch.
src/Decoder/Xml.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.