$this of type Doctrine\ORM\Mapping\LocalColumnMetadata is incompatible with the type Doctrine\ORM\Mapping\Property expected by parameter $declaringProperty of Doctrine\ORM\Mapping\Val...:setDeclaringProperty().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation