Closed Kocal closed 3 years ago
The service sylius.manager.order is already an instance of Doctrine\ORM\EntityManager which already implement Doctrine\ORM\EntityManagerInterface, so everything will be fine I guess:
sylius.manager.order
Doctrine\ORM\EntityManager
Doctrine\ORM\EntityManagerInterface
EDIT: not sure why the CI is failing, maybe the runner run with PHP 8.x by default and it fails due to this constraint.
This move is needed by Sylius 1.9.
See point 3 on upgrade documentation
any updates?
Good catch, thanks!
The service
sylius.manager.order
is already an instance ofDoctrine\ORM\EntityManager
which already implementDoctrine\ORM\EntityManagerInterface
, so everything will be fine I guess:EDIT: not sure why the CI is failing, maybe the runner run with PHP 8.x by default and it fails due to this constraint.