@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | * |
85 | 85 | * @param string $key |
86 | 86 | * |
87 | - * @return string|bool if cannot read content |
|
87 | + * @return string if cannot read content |
|
88 | 88 | */ |
89 | 89 | public function read($key) |
90 | 90 | { |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | * |
157 | 157 | * @param string $key |
158 | 158 | * |
159 | - * @return int|bool An UNIX like timestamp or false |
|
159 | + * @return string|false An UNIX like timestamp or false |
|
160 | 160 | */ |
161 | 161 | public function mtime($key) |
162 | 162 | { |
@@ -351,6 +351,11 @@ discard block |
||
351 | 351 | } |
352 | 352 | } |
353 | 353 | |
354 | + /** |
|
355 | + * @param string $key |
|
356 | + * |
|
357 | + * @return string |
|
358 | + */ |
|
354 | 359 | protected function computePath($key) |
355 | 360 | { |
356 | 361 | if (empty($this->options['directory'])) { |
@@ -364,7 +369,7 @@ discard block |
||
364 | 369 | * @param string $path |
365 | 370 | * @param array $options |
366 | 371 | * |
367 | - * @return bool|\Google_Service_Storage_StorageObject |
|
372 | + * @return string |
|
368 | 373 | */ |
369 | 374 | private function getObjectData($path, $options = array()) |
370 | 375 | { |
@@ -351,6 +351,11 @@ discard block |
||
351 | 351 | } |
352 | 352 | } |
353 | 353 | |
354 | + /** |
|
355 | + * @param string $key |
|
356 | + * |
|
357 | + * @return string |
|
358 | + */ |
|
354 | 359 | protected function computePath($key) |
355 | 360 | { |
356 | 361 | if (empty($this->options['directory'])) { |
@@ -364,7 +369,7 @@ discard block |
||
364 | 369 | * @param string $path |
365 | 370 | * @param array $options |
366 | 371 | * |
367 | - * @return bool|\Google_Service_Storage_StorageObject |
|
372 | + * @return string |
|
368 | 373 | */ |
369 | 374 | private function getObjectData($path, $options = array()) |
370 | 375 | { |