@@ -89,6 +89,9 @@ discard block |
||
89 | 89 | return $path === '.'; |
90 | 90 | } |
91 | 91 | |
92 | + /** |
|
93 | + * @param string $path |
|
94 | + */ |
|
92 | 95 | private function cleanKey($path) { |
93 | 96 | if ($this->isRoot($path)) { |
94 | 97 | return '/'; |
@@ -240,6 +243,9 @@ discard block |
||
240 | 243 | } |
241 | 244 | } |
242 | 245 | |
246 | + /** |
|
247 | + * @param string $path |
|
248 | + */ |
|
243 | 249 | private function batchDelete($path = null) { |
244 | 250 | $params = array( |
245 | 251 | 'Bucket' => $this->bucket |
@@ -352,7 +358,7 @@ discard block |
||
352 | 358 | * When the information is already present (e.g. opendir has been called before) |
353 | 359 | * this value is return. Otherwise a headObject is emitted. |
354 | 360 | * |
355 | - * @param $path |
|
361 | + * @param string $path |
|
356 | 362 | * @return int|mixed |
357 | 363 | */ |
358 | 364 | private function getContentLength($path) { |
@@ -374,8 +380,8 @@ discard block |
||
374 | 380 | * When the information is already present (e.g. opendir has been called before) |
375 | 381 | * this value is return. Otherwise a headObject is emitted. |
376 | 382 | * |
377 | - * @param $path |
|
378 | - * @return mixed|string |
|
383 | + * @param string $path |
|
384 | + * @return string |
|
379 | 385 | */ |
380 | 386 | private function getLastModified($path) { |
381 | 387 | if (isset($this->filesCache[$path])) { |
@@ -633,6 +639,9 @@ discard block |
||
633 | 639 | return $this->id; |
634 | 640 | } |
635 | 641 | |
642 | + /** |
|
643 | + * @param string $path |
|
644 | + */ |
|
636 | 645 | public function writeBack($tmpFile, $path) { |
637 | 646 | try { |
638 | 647 | $source = fopen($tmpFile, 'r'); |