@@ -54,7 +54,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | */ |
@@ -39,7 +39,7 @@ discard block |
||
| 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 |
||
| 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 | } |