1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-21 14:22:40 +01:00

Improve PHPDoc of id()

Summary: Improve PHPDoc of id()

Test Plan: Check the types that are returned by id

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: avivey, speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25576
This commit is contained in:
Tim Schumacher 2024-04-12 21:26:29 +02:00
parent ef73b12b58
commit 6718b32a64
No known key found for this signature in database
GPG key ID: 59AEBF8884CA25D9

View file

@ -13,8 +13,9 @@
*
* id(new Thing())->doStuff();
*
* @param wild Anything.
* @return wild Unmodified argument.
* @template T
* @param T $x Anything
* @return T Unmodified argument.
*/
function id($x) {
return $x;