You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If symfony/contracts is also used in the project, there versions 1.2.* have an issue:
TypeError : Argument 2 passed to Symfony\Component\EventDispatcher\EventDispatcher::dispatch() must be an instance of Symfony\Component\EventDispatcher\Event or null, instance of Finite\Event\StateMachineEvent given
This seems to occur when someone has both the Symfony\Contracts\EventDispatcher\Event and Symfony\Component\EventDispatcher\Event installed. This check in StateMachineEvent checks whether Symfony\Contracts\EventDispatcher\Event exists, and aliases it to Symfony\Component\EventDispatcher\Event if not.
The text was updated successfully, but these errors were encountered:
If
symfony/contracts
is also used in the project, there versions 1.2.* have an issue:This seems to occur when someone has both the
Symfony\Contracts\EventDispatcher\Event
andSymfony\Component\EventDispatcher\Event
installed. This check inStateMachineEvent
checks whetherSymfony\Contracts\EventDispatcher\Event
exists, and aliases it toSymfony\Component\EventDispatcher\Event
if not.The text was updated successfully, but these errors were encountered: