Skip to content

Commit

Permalink
Update is_imageslider.php (PHP-CS-Fixer)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoan82 authored Sep 12, 2023
1 parent e338579 commit 1218626
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions is_imageslider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
use Oksydan\IsImageslider\Hook\HookInterface;
use Oksydan\IsImageslider\Installer\ImageSliderInstaller;
use PrestaShop\PrestaShop\Adapter\SymfonyContainer;
use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
use PrestaShop\PrestaShop\Core\Module\WidgetInterface;

use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;

class Is_imageslider extends Module implements WidgetInterface
{
Expand Down Expand Up @@ -141,12 +140,14 @@ 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 1218626

Please sign in to comment.