From e511716e48108fa50f374318219e1db3982d80a9 Mon Sep 17 00:00:00 2001 From: Renato Cason Date: Thu, 2 Mar 2017 15:20:34 +0000 Subject: [PATCH] magento/magento2#2558 \Magento\MediaStorage\Model\File\Storage\Synchronization::synchronize() contains a wrong PHPDoc comment for the $file variable - Fix annotation comment --- .../Magento/MediaStorage/Model/File/Storage/Synchronization.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/MediaStorage/Model/File/Storage/Synchronization.php b/app/code/Magento/MediaStorage/Model/File/Storage/Synchronization.php index f3c38abca3bbd..06403d3d9837f 100644 --- a/app/code/Magento/MediaStorage/Model/File/Storage/Synchronization.php +++ b/app/code/Magento/MediaStorage/Model/File/Storage/Synchronization.php @@ -56,7 +56,7 @@ public function synchronize($relativeFileName) } catch (\Exception $e) { } if ($storage->getId()) { - /** @var Write $file */ + /** @var \Magento\Framework\Filesystem\File\WriteInterface $file */ $file = $this->mediaDirectory->openFile($relativeFileName, 'w'); try { $file->lock();