mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-21 22:32:41 +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();
|
* id(new Thing())->doStuff();
|
||||||
*
|
*
|
||||||
* @param wild Anything.
|
* @template T
|
||||||
* @return wild Unmodified argument.
|
* @param T $x Anything
|
||||||
|
* @return T Unmodified argument.
|
||||||
*/
|
*/
|
||||||
function id($x) {
|
function id($x) {
|
||||||
return $x;
|
return $x;
|
||||||
|
|
Loading…
Reference in a new issue