Skip to content

Commit

Permalink
Use MediaManagerInterface in DynamicController (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
plozmun committed Sep 10, 2021
1 parent 06bc5fa commit a9904bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Controller/DynamicController.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
use Sulu\Bundle\FormBundle\Repository\DynamicRepository;
use Sulu\Bundle\FormBundle\Repository\FormRepository;
use Sulu\Bundle\MediaBundle\Media\Exception\MediaNotFoundException;
use Sulu\Bundle\MediaBundle\Media\Manager\MediaManager;
use Sulu\Bundle\MediaBundle\Media\Manager\MediaManagerInterface;
use Sulu\Component\Rest\ListBuilder\ListRepresentation;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
Expand All @@ -45,7 +45,7 @@ class DynamicController implements ClassResourceInterface
private $dynamicListFactory;

/**
* @var MediaManager
* @var MediaManagerInterface
*/
private $mediaManager;

Expand All @@ -67,7 +67,7 @@ class DynamicController implements ClassResourceInterface
public function __construct(
DynamicRepository $dynamicRepository,
DynamicListFactory $dynamicListFactory,
MediaManager $mediaManager,
MediaManagerInterface $mediaManager,
EntityManager $entityManager,
FormRepository $formRepository,
ViewHandler $viewHandler
Expand Down

0 comments on commit a9904bc

Please sign in to comment.