Skip to content

Commit

Permalink
Fixing typo of previous case and removing duplicate case
Browse files Browse the repository at this point in the history
  • Loading branch information
mtdowling committed May 11, 2015
1 parent accb021 commit 90f9fec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/S3/Transfer.php
Expand Up @@ -341,15 +341,14 @@ private function addDebugToBefore($debug)
$source = "s3://{$command['Bucket']}/{$command['Key']}";
$dest = $command['@http']['sink'];
break;
case 'CompleteMultipartUpload':
case 'PutObject':
$source = $command['SourceFile'];
$dest = "s3://{$command['Bucket']}/{$command['Key']}";
break;
case 'UploadPart':
$part = $command['PartNumber'];
case 'CreateMultipartUpload':
case 'CompleteUploadPart':
case 'CompleteMultipartUpload':
$sourceKey = $command['Key'];
if (isset($s3Args['Key']) && strpos($sourceKey, $s3Args['Key']) === 0) {
$sourceKey = substr($sourceKey, strlen($s3Args['Key']) + 1);
Expand Down

0 comments on commit 90f9fec

Please sign in to comment.