doctrine / orm

Doctrine Object Relational Mapper (ORM)
https://www.doctrine-project.org/projects/orm.html
MIT License
9.86k stars 2.5k forks source link

Add the proper void return type on the __load method of proxies #11511

Closed stof closed 1 week ago

stof commented 1 week ago

When using ghost objects, the method was leaking a static return type due to the way it was implemented, which is incompatible with the native return type that will be added in doctrine/persistence v4.