Argument 3 passed to Sonata\MediaBundle\Command\CleanMediaCommand::__construct() must implement interface Sonata\MediaBundle\Model\MediaManagerInterface, instance of Sonata\MediaBundle\Document\MediaManager given
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Environment
Sonata packages
Symfony packages
PHP version
Subject
Document\MediaManager dosen't implements Model\MediaManagerInterface.
Then I got this error in :