Passed
Push — master ( 7768f9...daf5ec )
by David
01:16
created
src/Clients/WebClient.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -75,8 +75,7 @@  discard block
 block discarded – undo
75 75
         if(is_string($host) && filter_var($host, FILTER_VALIDATE_URL))
76 76
         {
77 77
             $this->setUrl($host);
78
-        }
79
-        elseif($host)
78
+        } elseif($host)
80 79
         {
81 80
             $this->setHost($host);
82 81
         }
@@ -317,8 +316,7 @@  discard block
 block discarded – undo
317 316
         if($this->isCached($type, $file))
318 317
         {
319 318
             return $this->getCachedResponse($type, $file);
320
-        }
321
-        elseif(!isset($retries[sha1($file)]))
319
+        } elseif(!isset($retries[sha1($file)]))
322 320
         {
323 321
             $retries[sha1($file)] = $this->retries;
324 322
         }
@@ -405,8 +403,7 @@  discard block
 block discarded – undo
405 403
         if(is_null($this->callback))
406 404
         {
407 405
             $this->response = curl_exec($curl);
408
-        }
409
-        else
406
+        } else
410 407
         {
411 408
             $this->response = '';
412 409
             curl_exec($curl);
Please login to merge, or discard this patch.