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
This commit is contained in:
parent
4d338c2dc3
commit
83494d84ef
|
@ -1301,7 +1301,7 @@ final class DifferentialChangesetParser extends Phobject {
|
|||
*
|
||||
* @param string $spec Range specification, indicating the range of the diff
|
||||
* that should be rendered.
|
||||
* @return tuple List of <start, end, mask> suitable for passing to
|
||||
* @return array Tuple of <start, end, mask> suitable for passing to
|
||||
* @{method:render}.
|
||||
*/
|
||||
public static function parseRangeSpecification($spec) {
|
||||
|
|
|
@ -248,7 +248,7 @@ abstract class PhabricatorWorker extends Phobject {
|
|||
/**
|
||||
* Get tasks queued as followups by @{method:queueTask}.
|
||||
*
|
||||
* @return list<tuple<string, wild, int|null>> Queued task specifications.
|
||||
* @return list<array<string, wild, int|null>> Queued task specifications.
|
||||
*/
|
||||
final protected function getQueuedTasks() {
|
||||
return $this->queuedTasks;
|
||||
|
|
Loading…
Reference in a new issue