[PR #11293] Remove wrong annotation about return type #12918

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

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

State: closed
Merged: Yes


Found while working on https://github.com/doctrine/orm/pull/11294

Although this method is guaranteed to return either null or something that can be used as a fully qualified class name, it never actually checks that the class actually exists. Adding such a check breaks several tests, including some that expect a exceptions at some later points in the execution.

**Original Pull Request:** https://github.com/doctrine/orm/pull/11293 **State:** closed **Merged:** Yes --- Found while working on https://github.com/doctrine/orm/pull/11294 Although this method is guaranteed to return either null or something that can be used as a fully qualified class name, it never actually checks that the class actually exists. Adding such a check breaks several tests, including some that expect a exceptions at some later points in the execution.
admin added the pull-request label 2026-01-22 16:15:35 +01:00
admin closed this issue 2026-01-22 16:15:35 +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#12918