@@ -370,7 +370,7 @@ discard block |
||
| 370 | 370 | /** |
| 371 | 371 | * MultiPart upload for big files (exceeding size_limit) |
| 372 | 372 | * |
| 373 | - * @param $key |
|
| 373 | + * @param string $key |
|
| 374 | 374 | * @param $content |
| 375 | 375 | * |
| 376 | 376 | * @return bool |
@@ -420,7 +420,7 @@ discard block |
||
| 420 | 420 | * @param $key |
| 421 | 421 | * @param $content |
| 422 | 422 | * @param $uploadId |
| 423 | - * @param $partNumber |
|
| 423 | + * @param integer $partNumber |
|
| 424 | 424 | * |
| 425 | 425 | * @return \Aws\Result |
| 426 | 426 | */ |
@@ -13,10 +13,10 @@ discard block |
||
| 13 | 13 | * @author Michael Dowling <[email protected]> |
| 14 | 14 | */ |
| 15 | 15 | class AwsS3 implements Adapter, |
| 16 | - MetadataSupporter, |
|
| 17 | - ListKeysAware, |
|
| 18 | - SizeCalculator, |
|
| 19 | - MimeTypeProvider |
|
| 16 | + MetadataSupporter, |
|
| 17 | + ListKeysAware, |
|
| 18 | + SizeCalculator, |
|
| 19 | + MimeTypeProvider |
|
| 20 | 20 | { |
| 21 | 21 | /* |
| 22 | 22 | * Amazon S3 does not not allow uploads > 5Go |
@@ -447,12 +447,12 @@ discard block |
||
| 447 | 447 | */ |
| 448 | 448 | protected function completeMultipartUpload($key, $uploadId, $parts) |
| 449 | 449 | { |
| 450 | - $options = $this->getOptions( |
|
| 451 | - $key, |
|
| 452 | - [ |
|
| 453 | - 'UploadId' => $uploadId, |
|
| 454 | - 'MultipartUpload' => ['Parts' => $parts], |
|
| 455 | - ] |
|
| 450 | + $options = $this->getOptions( |
|
| 451 | + $key, |
|
| 452 | + [ |
|
| 453 | + 'UploadId' => $uploadId, |
|
| 454 | + 'MultipartUpload' => ['Parts' => $parts], |
|
| 455 | + ] |
|
| 456 | 456 | ); |
| 457 | 457 | $this->service->completeMultipartUpload($options); |
| 458 | 458 | } |
@@ -190,7 +190,7 @@ |
||
| 190 | 190 | if ($isResource = is_resource($content)) { |
| 191 | 191 | $size = Util\Size::fromResource($content); |
| 192 | 192 | } else { |
| 193 | - $size = Util\Size::fromContent($content); |
|
| 193 | + $size = Util\Size::fromContent($content); |
|
| 194 | 194 | } |
| 195 | 195 | |
| 196 | 196 | try { |