[PR #9511] Replace TreeWalkerChainIterator with a generator #11669

Closed
opened 2026-01-22 16:11:30 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/9511

State: closed
Merged: Yes


While investigating the type errors on the tree walker classes, I stumbled on TreeWalkerChainIterator. This class seems unnecessarily complex and can easily replaced with a three-line generator function. So I did just that.

**Original Pull Request:** https://github.com/doctrine/orm/pull/9511 **State:** closed **Merged:** Yes --- While investigating the type errors on the tree walker classes, I stumbled on `TreeWalkerChainIterator`. This class seems unnecessarily complex and can easily replaced with a three-line generator function. So I did just that.
admin added the pull-request label 2026-01-22 16:11:30 +01:00
admin closed this issue 2026-01-22 16:11:30 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#11669