[PR #9319] Document LockMode enums #11523

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

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

State: closed
Merged: Yes


This PR narrows down the allowed value range for $lockMode parameters. This way, Psalm and PHPStan can inspect userland code that calls our methods and warn about invalid $lockMode values.

**Original Pull Request:** https://github.com/doctrine/orm/pull/9319 **State:** closed **Merged:** Yes --- This PR narrows down the allowed value range for `$lockMode` parameters. This way, Psalm and PHPStan can inspect userland code that calls our methods and warn about invalid `$lockMode` values.
admin added the pull-request label 2026-01-22 16:11:02 +01:00
admin closed this issue 2026-01-22 16:11:02 +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#11523