Skip to content

Commit

Permalink
#2558 \Magento\MediaStorage\Model\File\Storage\Synchronization::synch…
Browse files Browse the repository at this point in the history
…ronize() contains a wrong PHPDoc comment for the $file variable

- Fix annotation comment
  • Loading branch information
renatocason committed Mar 2, 2017
1 parent a005167 commit e511716
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e511716

Please sign in to comment.