From bed58c5ccca7b11d2495d44ce6cebdc03c49439b Mon Sep 17 00:00:00 2001 From: Nazar Klovanych Date: Mon, 17 Aug 2020 15:49:37 +0300 Subject: [PATCH] Fix static tests --- .../Magento/MediaGalleryMetadata/Model/Jpeg/Segment/ReadExif.php | 1 + .../Magento/MediaGalleryMetadata/Model/Png/Segment/ReadExif.php | 1 + 2 files changed, 2 insertions(+) diff --git a/app/code/Magento/MediaGalleryMetadata/Model/Jpeg/Segment/ReadExif.php b/app/code/Magento/MediaGalleryMetadata/Model/Jpeg/Segment/ReadExif.php index 5e5deb0e119fc..edacd8bb65cec 100644 --- a/app/code/Magento/MediaGalleryMetadata/Model/Jpeg/Segment/ReadExif.php +++ b/app/code/Magento/MediaGalleryMetadata/Model/Jpeg/Segment/ReadExif.php @@ -12,6 +12,7 @@ use Magento\MediaGalleryMetadataApi\Model\FileInterface; use Magento\MediaGalleryMetadataApi\Model\ReadMetadataInterface; use Magento\MediaGalleryMetadataApi\Model\SegmentInterface; +use Magento\Framework\Exception\LocalizedException; /** * Jpeg EXIF Reader diff --git a/app/code/Magento/MediaGalleryMetadata/Model/Png/Segment/ReadExif.php b/app/code/Magento/MediaGalleryMetadata/Model/Png/Segment/ReadExif.php index 4c13d9a97255f..a0e70eef62a0b 100644 --- a/app/code/Magento/MediaGalleryMetadata/Model/Png/Segment/ReadExif.php +++ b/app/code/Magento/MediaGalleryMetadata/Model/Png/Segment/ReadExif.php @@ -12,6 +12,7 @@ use Magento\MediaGalleryMetadataApi\Model\FileInterface; use Magento\MediaGalleryMetadataApi\Model\ReadMetadataInterface; use Magento\MediaGalleryMetadataApi\Model\SegmentInterface; +use Magento\Framework\Exception\LocalizedException; /** * Jpeg EXIF Reader