Skip to content

Commit

Permalink
Update is_imageslider.php (PHP-CS-Fixer Ok)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoan82 authored Sep 12, 2023
1 parent 1218626 commit 0bfc9a0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions is_imageslider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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);
}
}

0 comments on commit 0bfc9a0

Please sign in to comment.