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
As this error happens inside doctrine/orm, please provide the info about which version of doctrine/orm is used.
reading the code of Doctrine\ORM\Mapping\DefaultTypedFieldMapper in the latest 2.x and 3.x version, it seems impossible for it to call getName on null on line 65 as there is a condition `$type instanceof \ReflectionNamedType around that code.
Maybe an older version had a bug.
``Consider having a BackendEnum class FooEnum. The entity class has following property declaration:
When running PHPStan analysis, it fails with following stacktrace.
When
type
is added to the annotation, PHPStan analysis completes successfully.The text was updated successfully, but these errors were encountered: