We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4da639d commit dd70606Copy full SHA for dd70606
app/code/Magento/Catalog/Model/Product/Option/Type/File/ValidatorFile.php
@@ -91,7 +91,7 @@ public function __construct(
91
$this->httpFactory = $httpFactory;
92
$this->isImageValidator = $isImageValidator;
93
$this->random = $random
94
- ?? ObjectManager::getInstance()->get(Random::class);
+ ? $random : ObjectManager::getInstance()->get(Random::class);
95
parent::__construct($scopeConfig, $filesystem, $fileSize);
96
}
97
0 commit comments