Fix small syntax problem

Signed-off-by: Bernd.Rederlechner@t-systems.com <bernd.rederlechner@t-systems.com>
This commit is contained in:
Bernd.Rederlechner@t-systems.com 2021-05-12 13:57:30 +00:00
parent 23c41dca5e
commit 86bcc3d6f6
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ trait S3ConnectionTrait {
'ServerSideEncryption' => 'aws:kms', 'ServerSideEncryption' => 'aws:kms',
'SSEKMSKeyId' => $this->sseKmsBucketKeyId, 'SSEKMSKeyId' => $this->sseKmsBucketKeyId,
]; ];
} elseif !(empty($this->sseKmsKeyId)) { } elseif (!empty($this->sseKmsKeyId)) {
return [ return [
'ServerSideEncryption' => 'aws:kms', 'ServerSideEncryption' => 'aws:kms',
'SSEKMSKeyId' => $this->sseKmsKeyId, 'SSEKMSKeyId' => $this->sseKmsKeyId,