From 93df8bf33a25756cbaedfc686be3e9f982df6ff8 Mon Sep 17 00:00:00 2001 From: Ievgen Shakhsuvarov Date: Tue, 12 Dec 2017 13:58:50 +0200 Subject: [PATCH] Update ProductRepository.php --- app/code/Magento/Catalog/Model/ProductRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Catalog/Model/ProductRepository.php b/app/code/Magento/Catalog/Model/ProductRepository.php index 90b18031c1448..e76bba52b4a3f 100644 --- a/app/code/Magento/Catalog/Model/ProductRepository.php +++ b/app/code/Magento/Catalog/Model/ProductRepository.php @@ -491,7 +491,7 @@ private function processLinks(\Magento\Catalog\Api\Data\ProductInterface $produc * @throws LocalizedException * @SuppressWarnings(PHPMD.CyclomaticComplexity) */ - protected function processMediaGallery(ProductInterface $product, array $mediaGalleryEntries) + protected function processMediaGallery(ProductInterface $product, $mediaGalleryEntries) { $existingMediaGallery = $product->getMediaGallery('images'); $newEntries = [];