Open
Description
By default, PHPStan does not know what is the relation of
$casts
to the properties of Entities. We need to teach it that the content of$casts
influence the type of the properties.
Originally posted by @paulbalandan in #7 (comment)