When attempting to use this bundle (v2.0.0) with sonata-project/admin-bundle:4.29 - we receive an error:
In MediaAdminExtension.php line 27:
!!
!! Compile Error: Declaration of CoopTilleuls\Bundle\CKEditorSonataMediaBundle
!! \Admin\MediaAdminExtension::configureRoutes(Sonata\AdminBundle\Admin\AdminI
!! nterface $admin, Sonata\AdminBundle\Route\RouteCollection $collection) must
!! be compatible with Sonata\AdminBundle\Admin\AbstractAdminExtension::config
!! ureRoutes(Sonata\AdminBundle\Admin\AdminInterface $admin, Sonata\AdminBundl
!! e\Route\RouteCollectionInterface $collection): void
!!
due to incompatibility between method signatures. The method should use RouteCollectionInterface instead of RouteCollection and also should have a : void return type.
When attempting to use this bundle (v2.0.0) with
sonata-project/admin-bundle:4.29
- we receive an error:due to incompatibility between method signatures. The method should use
RouteCollectionInterface
instead ofRouteCollection
and also should have a: void
return type.