Passed
Branch master (2ad8bc)
by David
01:55 queued 32s
created
src/Clients/WebClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -558,7 +558,7 @@
 block discarded – undo
558 558
             $options[CURLOPT_INFILESIZE] = filesize($file);
559 559
         }
560 560
         // other options for specific requests
561
-        elseif(in_array($type,  ['detectors', 'mime-types', 'parsers', 'version']))
561
+        elseif(in_array($type, ['detectors', 'mime-types', 'parsers', 'version']))
562 562
         {
563 563
             $options[CURLOPT_PUT] = false;
564 564
         }
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      */
97 97
     public static function make($param1 = null, $param2 = null, $options = [], $check = true)
98 98
     {
99
-        if (preg_match('/\.jar$/', func_get_arg(0)))
99
+        if(preg_match('/\.jar$/', func_get_arg(0)))
100 100
         {
101 101
             return new CLIClient($param1, $param2, $check);
102 102
         }
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
     {
180 180
         if(static::MODE == 'cli' && is_numeric($size))
181 181
         {
182
-            $this->chunkSize = (int)$size;
182
+            $this->chunkSize = (int) $size;
183 183
         }
184 184
         elseif(static::MODE == 'web')
185 185
         {
Please login to merge, or discard this patch.