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); } }