Completed
Branch master (c13854)
by Ivan
03:47
created
src/Request.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -296,8 +296,7 @@  discard block
 block discarded – undo
296 296
         if ( ! empty($data))
297 297
         {
298 298
             $this->setOption(CURLOPT_POSTFIELDS, $this->optionParser->parseData($data));
299
-        }
300
-        else
299
+        } else
301 300
         {
302 301
             $this->unsetOption(CURLOPT_POSTFIELDS);
303 302
         }
@@ -315,8 +314,7 @@  discard block
 block discarded – undo
315 314
         if ( ! empty($headers))
316 315
         {
317 316
             $this->setOption(CURLOPT_HTTPHEADER, $this->optionParser->parseHeaders($headers));
318
-        }
319
-        else
317
+        } else
320 318
         {
321 319
             $this->unsetOption(CURLOPT_HTTPHEADER);
322 320
         }
Please login to merge, or discard this patch.
src/Curl.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -218,8 +218,7 @@
 block discarded – undo
218 218
         if ( ! $this->isInitialized() || ! function_exists('curl_reset'))
219 219
         {
220 220
             $this->initialize();
221
-        }
222
-        else
221
+        } else
223 222
         {
224 223
             // PHP >= 5.5.0
225 224
             curl_reset($this->curl);
Please login to merge, or discard this patch.