@@ -287,6 +287,9 @@ |
||
287 | 287 | return true; |
288 | 288 | } |
289 | 289 | |
290 | + /** |
|
291 | + * @param string $key |
|
292 | + */ |
|
290 | 293 | protected function getOptions($key, array $options = []) |
291 | 294 | { |
292 | 295 | $options['ACL'] = $this->options['acl']; |
@@ -186,6 +186,9 @@ |
||
186 | 186 | return $this->users; |
187 | 187 | } |
188 | 188 | |
189 | + /** |
|
190 | + * @param string $key |
|
191 | + */ |
|
189 | 192 | private function updateAcl($key) |
190 | 193 | { |
191 | 194 | $response = $this->s3->set_object_acl($this->bucketName, $key, $this->getAcl()); |
@@ -458,7 +458,7 @@ discard block |
||
458 | 458 | } |
459 | 459 | |
460 | 460 | /** |
461 | - * @param string|resource $content |
|
461 | + * @param string $content |
|
462 | 462 | * |
463 | 463 | * @return string |
464 | 464 | */ |
@@ -476,7 +476,7 @@ discard block |
||
476 | 476 | /** |
477 | 477 | * @param string $key |
478 | 478 | * |
479 | - * @return array |
|
479 | + * @return string[] |
|
480 | 480 | * @throws \InvalidArgumentException |
481 | 481 | */ |
482 | 482 | private function tokenizeKey($key) |