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
Recently, ReflectionEmbeddedProperty was updated to extend ReflectionProperty. This broke any embeddable that extends an abstract class. That's because if a property is defined in the abstract class, $this->class is alway the abstract class and thus cannot be instantiated. The $class parameter that is passed into the constructor needs to be stored, and that class should be instantiated, not the the property's declaring class.
The text was updated successfully, but these errors were encountered:
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of austinsmorris:
Url: #1213
Message:
Recently, ReflectionEmbeddedProperty was updated to extend ReflectionProperty. This broke any embeddable that extends an abstract class. That's because if a property is defined in the abstract class,
$this->class
is alway the abstract class and thus cannot be instantiated. The$class
parameter that is passed into the constructor needs to be stored, and that class should be instantiated, not the the property's declaring class.The text was updated successfully, but these errors were encountered: