Passed
Push — master ( c2e92a...6d03a1 )
by David
01:20
created
src/Clients/WebClient.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -73,8 +73,7 @@  discard block
 block discarded – undo
73 73
         if($host && filter_var($host, FILTER_VALIDATE_URL))
74 74
         {
75 75
             $this->setUrl($host);
76
-        }
77
-        elseif($host)
76
+        } elseif($host)
78 77
         {
79 78
             $this->setHost($host);
80 79
         }
@@ -293,8 +292,7 @@  discard block
 block discarded – undo
293 292
         if(isset($this->cache[sha1($file)][$type]))
294 293
         {
295 294
             return $this->cache[sha1($file)][$type];
296
-        }
297
-        elseif(!isset($retries[sha1($file)]))
295
+        } elseif(!isset($retries[sha1($file)]))
298 296
         {
299 297
             $retries[sha1($file)] = $this->retries;
300 298
         }
@@ -375,8 +373,7 @@  discard block
 block discarded – undo
375 373
         if(is_null($this->callback))
376 374
         {
377 375
             $this->response = curl_exec($curl);
378
-        }
379
-        else
376
+        } else
380 377
         {
381 378
             $this->response = '';
382 379
             curl_exec($curl);
Please login to merge, or discard this patch.