From 0bfc9a05110f3baf862685b5db416ebbae76109d Mon Sep 17 00:00:00 2001 From: Guiraud Yoan <37932069+yoan82@users.noreply.github.com> Date: Tue, 12 Sep 2023 12:00:31 +0200 Subject: [PATCH] Update is_imageslider.php (PHP-CS-Fixer Ok) --- is_imageslider.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/is_imageslider.php b/is_imageslider.php index 849566a..e56c6f2 100644 --- a/is_imageslider.php +++ b/is_imageslider.php @@ -13,8 +13,9 @@ use Oksydan\IsImageslider\Hook\HookInterface; use Oksydan\IsImageslider\Installer\ImageSliderInstaller; use PrestaShop\PrestaShop\Adapter\SymfonyContainer; -use PrestaShop\PrestaShop\Core\Module\WidgetInterface; use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use PrestaShop\PrestaShop\Core\Module\WidgetInterface; + class Is_imageslider extends Module implements WidgetInterface { @@ -140,14 +141,12 @@ private function getHookObject($methodName) public function renderWidget($hookName, array $configuration) { $widgetCapability = $this->get('oksydan.is_imageslider.hook.widget_capability'); - return $widgetCapability->renderWidget($configuration); } public function getWidgetVariables($hookName, array $configuration) { $widgetCapability = $this->get('oksydan.is_imageslider.hook.widget_capability'); - return $widgetCapability->getWidgetVariables($configuration); } }