@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: Fix incorrect return type in lipsum

Summary:
Avoid the following errors:
```
src/applications/maniphest/lipsum/PhabricatorManiphestTaskTestDataGenerator.php:76 Cannot call method getPHID() on string.
src/applications/owners/lipsum/PhabricatorOwnersPackageTestDataGenerator.php:65 Cannot call method getPHID() on string.
```

Test Plan: Run static code analysis.

Reviewers: O1 Blessed Committers, mainframe98, valerio.bozzolan

Reviewed By: O1 Blessed Committers, mainframe98, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

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

+1 -1
+1 -1
src/applications/lipsum/generator/PhabricatorTestDataGenerator.php
··· 98 98 * Get one random object by its PHP class name. 99 99 * 100 100 * @param string $classname PHP class name. 101 - * @return string 101 + * @return PhabricatorLiskDAO Object of that class. 102 102 */ 103 103 public function loadOneRandom($classname) { 104 104 try {