Docblock parameter $where in docblock for andWhere does not have a counterpart in signature parameter list #7218

Closed
opened 2026-01-22 15:47:14 +01:00 by admin · 1 comment
Owner

Originally created by @ging-dev on GitHub (Sep 7, 2023).

Bug Report

Q A
BC Break no
Version 2.16.2

Summary

Docblock parameter $where in docblock for andWhere does not have a counterpart in signature parameter list:

d81afdb6e3/lib/Doctrine/ORM/QueryBuilder.php (L1164-L1168)

Although it does not cause errors, it will cause confusion for the IDE:

image

Originally created by @ging-dev on GitHub (Sep 7, 2023). ### Bug Report <!-- Fill in the relevant information below to help triage your issue. --> | Q | A |------------ | ------ | BC Break | no | Version | 2.16.2 #### Summary Docblock parameter $where in docblock for andWhere does not have a counterpart in signature parameter list: https://github.com/doctrine/orm/blob/d81afdb6e3454007477ac00b8c98481c6f99af0f/lib/Doctrine/ORM/QueryBuilder.php#L1164-L1168 Although it does not cause errors, it will cause confusion for the IDE: ![image](https://github.com/doctrine/orm/assets/42226341/217cec87-6aae-424d-b284-ead68d26a946)
admin closed this issue 2026-01-22 15:47:15 +01:00
Author
Owner

@derrabus commented on GitHub (Sep 7, 2023):

This will be addressed in 3.0.

@derrabus commented on GitHub (Sep 7, 2023): This will be addressed in 3.0.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#7218