[PR #9937] Use a more precise phpdoc for ClassMetadataInfo::versionField than mixed #11991

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

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

State: closed
Merged: Yes


The phpdoc for $versionField is mixed but this should be string|null instead

  • Everytime it's not null, it's used as an array key.
  • public function setVersionField($versionField) were only accepting string.
**Original Pull Request:** https://github.com/doctrine/orm/pull/9937 **State:** closed **Merged:** Yes --- The phpdoc for $versionField is mixed but this should be `string|null` instead - Everytime it's not null, it's used as an array key. - `public function setVersionField($versionField)` were only accepting string.
admin added the pull-request label 2026-01-22 16:12:33 +01:00
admin closed this issue 2026-01-22 16:12:34 +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#11991