File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
lib/internal/Magento/Framework/Storage/AdapterFactory Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ class AwsS3Factory implements AdapterFactoryInterface
20
20
*/
21
21
public function create (array $ options ): AdapterInterface
22
22
{
23
+ // phpstan:ignore
23
24
if (empty ($ options ['client ' ]) || empty ($ options ['bucket ' ])) {
24
25
throw new InvalidStorageConfigurationException (
25
26
"Can't create AWS S3 adapter: required 'client' and/or 'bucket' options are absent "
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ class AzureFactory implements AdapterFactoryInterface
20
20
*/
21
21
public function create (array $ options ): AdapterInterface
22
22
{
23
+ // phpstan:ignore
23
24
if (empty ($ options ['connection_string ' ]) || empty ($ options ['container_name ' ])) {
24
25
throw new InvalidStorageConfigurationException (
25
26
"Can't create Azure Blob storage adapter: " .
You can’t perform that action at this time.
0 commit comments