From 0628de499793cb4e41752030d8c509b07339b875 Mon Sep 17 00:00:00 2001 From: Dmitry Fedyuk Date: Wed, 7 Dec 2022 19:23:04 +0000 Subject: [PATCH] https://github.com/tradefurniturecompany/core/issues/47 --- Plugin/Catalog/Block/Product/View/GalleryOptions.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Plugin/Catalog/Block/Product/View/GalleryOptions.php b/Plugin/Catalog/Block/Product/View/GalleryOptions.php index 8afea12..96a04f3 100644 --- a/Plugin/Catalog/Block/Product/View/GalleryOptions.php +++ b/Plugin/Catalog/Block/Product/View/GalleryOptions.php @@ -9,9 +9,8 @@ final class GalleryOptions { /** * 2020-10-28 * @see \Magento\Catalog\Block\Product\View\GalleryOptions::getOptionsJson() - * @return string */ - function afterGetOptionsJson(Sb $sb, string $r) { + function afterGetOptionsJson(Sb $sb, string $r):string { $g = df_product_gallery_b(); /** @var G $g */ $gc = $g->getGalleryImages(); /** @var C $gc */ if ($gc->count()) {