mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Correct phpdocs of methods marked internal #5847
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 @egircys on GitHub (Jan 14, 2018).
Some methods have in their phpdocs the keyword "INTERNAL", as stated in the PR https://github.com/doctrine/doctrine2/pull/6967
e.g.
https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/UnitOfWork.php#L843
https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/PersistentCollection.php#L100
Internal can be a method or class, but also a part of the description text. https://docs.phpdoc.org/references/phpdoc/tags/internal.html
I believe it makes sense to update the phpdocs accordingly, in order to remove the ambiguity.