Skip to content

Commit e511716

Browse files
committed
#2558 \Magento\MediaStorage\Model\File\Storage\Synchronization::synchronize() contains a wrong PHPDoc comment for the $file variable
- Fix annotation comment
1 parent a005167 commit e511716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/MediaStorage/Model/File/Storage/Synchronization.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function synchronize($relativeFileName)
5656
} catch (\Exception $e) {
5757
}
5858
if ($storage->getId()) {
59-
/** @var Write $file */
59+
/** @var \Magento\Framework\Filesystem\File\WriteInterface $file */
6060
$file = $this->mediaDirectory->openFile($relativeFileName, 'w');
6161
try {
6262
$file->lock();

0 commit comments

Comments
 (0)