Fix code style issues

This commit is contained in:
Felipe Nakandakari 2023-02-27 13:26:45 +11:00
parent e3abc042a8
commit 6d4d3af377
No known key found for this signature in database

View File

@ -87,6 +87,7 @@ class S3Storage extends AbstractData
// ref: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials.html#default-credential-chain // ref: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials.html#default-credential-chain
if (isset($options['accesskey']) && isset($options['secretkey'])) { if (isset($options['accesskey']) && isset($options['secretkey'])) {
$this->_options['credentials'] = array(); $this->_options['credentials'] = array();
$this->_options['credentials']['key'] = $options['accesskey']; $this->_options['credentials']['key'] = $options['accesskey'];
$this->_options['credentials']['secret'] = $options['secretkey']; $this->_options['credentials']['secret'] = $options['secretkey'];
} }