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 147f287 commit 2be099fCopy full SHA for 2be099f
app/code/Magento/Analytics/Model/LinkProvider.php
@@ -52,7 +52,7 @@ public function __construct(
52
public function get()
53
{
54
$fileInfo = $this->fileInfoManager->load();
55
- if ($fileInfo->getPath() === null || $fileInfo->getInitializationVector() === null) {
+ if (!$fileInfo->getPath() || !$fileInfo->getInitializationVector()) {
56
throw new Exception(__('File is not ready yet.'), 0, Exception::HTTP_NOT_FOUND);
57
}
58
$link = $this->linkInterfaceFactory->create();
0 commit comments