Completed
Pull Request — master (#11)
by frey
02:33
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         $this->bucket = $config['bucket'];
40 40
         $this->debug  = $config['debug'];
41 41
 
42
-        $this->setPathPrefix($config['protocol'] . '://' . $config['domain'] . '/');
42
+        $this->setPathPrefix($config['protocol'].'://'.$config['domain'].'/');
43 43
 
44 44
         Cosapi::setTimeout($config['timeout']);
45 45
         Cosapi::setRegion($config['region']);
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
     public function has($path)
274 274
     {
275 275
         try {
276
-            return (bool)$this->getMetadata($path);
276
+            return (bool) $this->getMetadata($path);
277 277
         } catch (RuntimeException $exception) {
278 278
             return false;
279 279
         }
Please login to merge, or discard this patch.