Skip to content

Commit 974a9be

Browse files
authored
use PictureFactoryInterface (#27)
1 parent b315d8d commit 974a9be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/EventListener/AjaxReloadElementListener.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Contao\ArticleModel;
1717
use Contao\ContentModel;
1818
use Contao\Controller as ContaoController;
19-
use Contao\CoreBundle\Image\PictureFactory;
19+
use Contao\CoreBundle\Image\PictureFactoryInterface;
2020
use Contao\Environment;
2121
use Contao\FrontendTemplate;
2222
use Contao\Input;
@@ -44,12 +44,12 @@ class AjaxReloadElementListener
4444

4545

4646
/**
47-
* @var PictureFactory
47+
* @var PictureFactoryInterface
4848
*/
4949
private $pictureFactory;
5050

5151

52-
public function __construct(PictureFactory $pictureFactory)
52+
public function __construct(PictureFactoryInterface $pictureFactory)
5353
{
5454
$this->pictureFactory = $pictureFactory;
5555
}

0 commit comments

Comments
 (0)