mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-09 16:32:39 +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:
parent
ef73b12b58
commit
6718b32a64
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue