@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

PHPDoc: Correct syntax of variadic function params

Summary: PHPDoc standardized syntax for variadic function parameters in https://github.com/phpDocumentor/phpDocumentor/issues/629. Thus follow that syntax.

Test Plan:
* Check that Phorge docs still render as before: grep for `...` within src/applications/diviner, see that the only result writes and does not read
* Run `./bin/diviner generate --clean`, see that "Loading Objects" section on http://phorge.localhost/book/dev/class/LiskDAO/ looks the same before and after
* Run static code analysis, get no more parse errors which mention `...`

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25980

+2 -2
+2 -2
src/infrastructure/storage/lisk/LiskDAO.php
··· 469 469 * The pattern and arguments are as per queryfx(). 470 470 * 471 471 * @param string $pattern queryfx()-style SQL WHERE clause. 472 - * @param ... Zero or more conversions. 472 + * @param mixed $args,... Zero or more conversions. 473 473 * @return dict Dictionary of matching objects, keyed on ID. 474 474 * 475 475 * @task load ··· 490 490 * result instead of a list. 491 491 * 492 492 * @param string $pattern queryfx()-style SQL WHERE clause. 493 - * @param ... Zero or more conversions. 493 + * @param mixed $args,... Zero or more conversions. 494 494 * @return object|null Matching object, or null if no object matches. 495 495 * 496 496 * @task load