Passed
Push — master ( adb06a...c828b5 )
by frey
39s
created
src/Adapter.php 2 patches
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     }
55 55
 
56 56
     /**
57
-     * @param $path
57
+     * @param string $path
58 58
      *
59 59
      * @return string
60 60
      */
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
     }
392 392
 
393 393
     /**
394
-     * @param $content
394
+     * @param string $content
395 395
      *
396 396
      * @return string|false
397 397
      */
@@ -407,7 +407,7 @@  discard block
 block discarded – undo
407 407
     }
408 408
 
409 409
     /**
410
-     * @param $tmpfname
410
+     * @param string|false $tmpfname
411 411
      *
412 412
      * @return bool
413 413
      */
@@ -417,8 +417,8 @@  discard block
 block discarded – undo
417 417
     }
418 418
 
419 419
     /**
420
-     * @param $path
421
-     * @param $content
420
+     * @param string $path
421
+     * @param string $content
422 422
      *
423 423
      * @return bool
424 424
      */
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
         try {
80 80
             $response = Cosapi::upload($this->getBucket(), $tmpfname, $path,
81
-                                       null, null, $config->get('insertOnly', 1));
81
+                                        null, null, $config->get('insertOnly', 1));
82 82
 
83 83
             $this->deleteTempFile($tmpfname);
84 84
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         $uri = stream_get_meta_data($resource)['uri'];
113 113
 
114 114
         $response = Cosapi::upload($this->getBucket(), $uri, $path,
115
-                                   null, null, $config->get('insertOnly', 1));
115
+                                    null, null, $config->get('insertOnly', 1));
116 116
 
117 117
         $response = $this->normalizeResponse($response);
118 118
 
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
 
141 141
         try {
142 142
             $response = Cosapi::upload($this->getBucket(), $tmpfname, $path,
143
-                                       null, null, $config->get('insertOnly', 0));
143
+                                        null, null, $config->get('insertOnly', 0));
144 144
 
145 145
             $this->deleteTempFile($tmpfname);
146 146
 
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
         $uri = stream_get_meta_data($resource)['uri'];
175 175
 
176 176
         $response = Cosapi::upload($this->getBucket(), $uri, $path,
177
-                                   null, null, $config->get('insertOnly', 0));
177
+                                    null, null, $config->get('insertOnly', 0));
178 178
 
179 179
         $response = $this->normalizeResponse($response);
180 180
 
Please login to merge, or discard this patch.