mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-798: Clarify param term in MEMBER OF example in DQL docs #981
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Sep 10, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user mjh_ca:
Current code example reads:
Maybe it's just me, but it was not immediately apparent that *:param* is expected to be an identifier value from the CmsGroups entity (group ID number). It may improve the example to rename :param to :groupId or add $query->setParameter(':param', $groupId);
@doctrinebot commented on GitHub (Sep 10, 2010):
Comment created by romanb:
Its supposed to be an object, not an id, although an id might work too, I dont know.
@doctrinebot commented on GitHub (Sep 10, 2010):
Comment created by mjh_ca:
Ok. Well, a clarification of whatever is permitted there would improve the docs. An id does seem to work.
@doctrinebot commented on GitHub (Sep 30, 2010):
Comment created by @beberlei:
Fixed
@doctrinebot commented on GitHub (Sep 30, 2010):
Issue was closed with resolution "Fixed"