Closed SamMousa closed 3 months ago
Indeed. Can you please send a pull request against 2.19.x? We will merge it up afterwards.
A more structural / robust approach would be to automatically type check all code samples in CI using something like PHPStan.
True. I don't know how to do that however.
Just getting into Doctrine ORM by reading the docs from A to Z. Noticed that the parameter type in the example is wrong making the example non-functional.
https://github.com/doctrine/orm/blob/9d4f54b9a476f13479c3845350b12c466873fc42/docs/en/tutorials/composite-primary-keys.rst?plain=1#L150