-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Hi all, it's my first time opening a Issue, so bear with me if some process is not followed properly.
In our recent logs we detected the following error:
console.CRITICAL: Error thrown while running command "scheduler:execute". Message: "Cannot assign Doctrine\DBAL\Connection to property Dukecity\CommandSchedulerBundle\Service\CommandSchedulerExecution::$em of type Doctrine\Persistence\ObjectManager"
Checking the code I found the following:
.../vendor/dukecity/command-scheduler-bundle/Service/CommandSchedulerExecution.php
In the file history I found that this was changed really long time ago
792316a
I am not sure if this is really an issue, because nobody complained in more than a year, but on the other side, the code is clearly assigning a Connection Type object to a EntityManager Type Object, there is no way this line will not throw an error.
Can anyone confirm if this is really a bug or just I am misunderstood?
Thanks.
