[PR #8543] Add missing @param and @return PHPDoc attributes #11051

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

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

State: closed
Merged: Yes


After the recent CS improvement batches some @param attributes had been replaced by @psalm-param which removes information for IDEs which are not interpreting those attributes. Same goes for @return.

This is the first step of two or three. What imho should follow and what I am willing to do (if you like this PR) is:

  • @param which uses array<> or array{} syntax should be changed to @psalm-param and like in this PR duplicated+fixed for @param (same goes for @return again).
  • Fixes for @var and @psalm-var I left this out here.

/cc @greg0ire

**Original Pull Request:** https://github.com/doctrine/orm/pull/8543 **State:** closed **Merged:** Yes --- After the recent CS improvement batches some `@param` attributes had been replaced by `@psalm-param` which removes information for IDEs which are not interpreting those attributes. Same goes for `@return`. This is the first step of two or three. What imho should follow and what I am willing to do (if you like this PR) is: * `@param` which uses `array<>` or `array{}` syntax should be changed to `@psalm-param` and like in this PR duplicated+fixed for `@param` (same goes for `@return` again). * Fixes for `@var` and `@psalm-var` I left this out here. /cc @greg0ire
admin added the pull-request label 2026-01-22 16:09:33 +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#11051