Skip to content

Commit

Permalink
use PictureFactoryInterface (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzmg authored Aug 9, 2022
1 parent b315d8d commit 974a9be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/EventListener/AjaxReloadElementListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Contao\ArticleModel;
use Contao\ContentModel;
use Contao\Controller as ContaoController;
use Contao\CoreBundle\Image\PictureFactory;
use Contao\CoreBundle\Image\PictureFactoryInterface;
use Contao\Environment;
use Contao\FrontendTemplate;
use Contao\Input;
Expand Down Expand Up @@ -44,12 +44,12 @@ class AjaxReloadElementListener


/**
* @var PictureFactory
* @var PictureFactoryInterface
*/
private $pictureFactory;


public function __construct(PictureFactory $pictureFactory)
public function __construct(PictureFactoryInterface $pictureFactory)
{
$this->pictureFactory = $pictureFactory;
}
Expand Down

0 comments on commit 974a9be

Please sign in to comment.