Open kor3k opened 3 months ago
this line: https://github.com/doctrine/orm/blob/e384978e0bd1bdced06755ee190adf7f713dd006/src/Mapping/AssociationOverride.php#L44
should be
if ($inverseJoinColumns instanceof InverseJoinColumn) {
this works
new ORM\AssociationOverride( inverseJoinColumns: [new ORM\InverseJoinColumn()], )
but this gives error
new ORM\AssociationOverride( inverseJoinColumns: new ORM\InverseJoinColumn(), // not array )
Bug Report
Summary
this line: https://github.com/doctrine/orm/blob/e384978e0bd1bdced06755ee190adf7f713dd006/src/Mapping/AssociationOverride.php#L44
should be
Current behavior
this works
but this gives error