Completed
Push — master ( ab76ce...ee0b8d )
by David
22s queued 11s
created
src/Clients/WebClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
         // get the response and the HTTP status code
343 343
         list($response, $status) = $this->exec($options);
344 344
 
345
-        if ($file && is_resource($options[CURLOPT_INFILE])){
345
+        if($file && is_resource($options[CURLOPT_INFILE])) {
346 346
             fclose($options[CURLOPT_INFILE]);
347 347
         }
348 348
 
@@ -562,7 +562,7 @@  discard block
 block discarded – undo
562 562
             $options[CURLOPT_INFILESIZE] = filesize($file);
563 563
         }
564 564
         // other options for specific requests
565
-        elseif(in_array($type,  ['detectors', 'mime-types', 'parsers', 'version']))
565
+        elseif(in_array($type, ['detectors', 'mime-types', 'parsers', 'version']))
566 566
         {
567 567
             $options[CURLOPT_PUT] = false;
568 568
         }
Please login to merge, or discard this patch.