@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: Replace non-existing return type tuple with array

Summary: `tuple` is not a valid type. See https://docs.phpdoc.org/guide/references/phpdoc/types.html and https://docs.phpdoc.org/guide/references/phpdoc/tags/return.html.

Test Plan: Read docs; run static code analysis.

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/D26066

+2 -2
+1 -1
src/applications/differential/parser/DifferentialChangesetParser.php
··· 1301 1301 * 1302 1302 * @param string $spec Range specification, indicating the range of the diff 1303 1303 * that should be rendered. 1304 - * @return tuple List of <start, end, mask> suitable for passing to 1304 + * @return array Tuple of <start, end, mask> suitable for passing to 1305 1305 * @{method:render}. 1306 1306 */ 1307 1307 public static function parseRangeSpecification($spec) {
+1 -1
src/infrastructure/daemon/workers/PhabricatorWorker.php
··· 248 248 /** 249 249 * Get tasks queued as followups by @{method:queueTask}. 250 250 * 251 - * @return list<tuple<string, wild, int|null>> Queued task specifications. 251 + * @return list<array<string, wild, int|null>> Queued task specifications. 252 252 */ 253 253 final protected function getQueuedTasks() { 254 254 return $this->queuedTasks;