Passed
Push — master ( 7868cc...0db999 )
by Alexandre
02:06
created
src/Headers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
 
123 123
     public function toHttp(): array
124 124
     {
125
-        return array_map(function ($k, $v) {
125
+        return array_map(function($k, $v) {
126 126
             return $k . ':' . $v;
127 127
         }, array_keys($this->headers), $this->headers);
128 128
     }
Please login to merge, or discard this patch.
src/Curl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
         $rawHeaders = substr($output, 0, $headerSize);
199 199
         $raw = substr($output, $headerSize);
200 200
 
201
-        $headers = array_reduce(explode("\n", $rawHeaders), function ($headers, $header) {
201
+        $headers = array_reduce(explode("\n", $rawHeaders), function($headers, $header) {
202 202
             $parts = explode(':', $header);
203 203
             if (count($parts) == 2) {
204 204
                 $headers[trim($parts[0])] = trim($parts[1]);
Please login to merge, or discard this patch.