Completed
Push — master ( 381d03...d0d601 )
by Hiraku
08:39
created
src/CurlMulti.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
             if ($raised = curl_multi_info_read($this->mh, $remains)) {
130 130
                 $ch = $raised['handle'];
131 131
                 $errno = curl_errno($ch);
132
-                if($errno == CURLE_OK && $raised['result'] != CURLE_OK)
132
+                if ($errno == CURLE_OK && $raised['result'] != CURLE_OK)
133 133
                     $errno = $raised['result'];
134 134
                 $error = curl_error($ch);
135 135
                 $info = curl_getinfo($ch);
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,8 +129,9 @@
 block discarded – undo
129 129
             if ($raised = curl_multi_info_read($this->mh, $remains)) {
130 130
                 $ch = $raised['handle'];
131 131
                 $errno = curl_errno($ch);
132
-                if($errno == CURLE_OK && $raised['result'] != CURLE_OK)
133
-                    $errno = $raised['result'];
132
+                if($errno == CURLE_OK && $raised['result'] != CURLE_OK) {
133
+                                    $errno = $raised['result'];
134
+                }
134 135
                 $error = curl_error($ch);
135 136
                 $info = curl_getinfo($ch);
136 137
                 curl_setopt($ch, CURLOPT_FILE, $this->blackhole); //release file pointer
Please login to merge, or discard this patch.