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
The constructor type hinting of LoadClassMetadataEventArgs is not good. It should be ClassMetadataInfo and not ClassMetadata.
ClassMetadataInfo is the base class used in the DisconnectedClassMetadataFactory. So when the event is used the argument is ClassMetadataInfo instance and not a ClassMetadata instance. I have this issue with the DoctrineBundle form the symfony2 framework.
The text was updated successfully, but these errors were encountered:
Jira issue originally created by user rande:
The constructor type hinting of
LoadClassMetadataEventArgs
is not good. It should beClassMetadataInfo
and notClassMetadata
.ClassMetadataInfo
is the base class used in theDisconnectedClassMetadataFactory
. So when the event is used the argument isClassMetadataInfo
instance and not aClassMetadata
instance. I have this issue with the DoctrineBundle form the symfony2 framework.The text was updated successfully, but these errors were encountered: