We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b315d8d commit 974a9beCopy full SHA for 974a9be
src/EventListener/AjaxReloadElementListener.php
@@ -16,7 +16,7 @@
16
use Contao\ArticleModel;
17
use Contao\ContentModel;
18
use Contao\Controller as ContaoController;
19
-use Contao\CoreBundle\Image\PictureFactory;
+use Contao\CoreBundle\Image\PictureFactoryInterface;
20
use Contao\Environment;
21
use Contao\FrontendTemplate;
22
use Contao\Input;
@@ -44,12 +44,12 @@ class AjaxReloadElementListener
44
45
46
/**
47
- * @var PictureFactory
+ * @var PictureFactoryInterface
48
*/
49
private $pictureFactory;
50
51
52
- public function __construct(PictureFactory $pictureFactory)
+ public function __construct(PictureFactoryInterface $pictureFactory)
53
{
54
$this->pictureFactory = $pictureFactory;
55
}
0 commit comments