@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.

Correct docs of PhabricatorPHIDType::getAllTypesForApplication()

Summary: The signature and return type of the `getAllTypesForApplication()` function differed from its docs.

Test Plan: Carefully read the code of the function and compare it to the `getAllInstalledTypes()` function above from which the docs were incorrectly copied.

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

+3 -4
+3 -4
src/applications/phid/type/PhabricatorPHIDType.php
··· 207 207 208 208 209 209 /** 210 - * Get all PHID types of applications installed for a given viewer. 210 + * Get all PHID types of an application. 211 211 * 212 - * @param PhabricatorUser Viewing user. 213 - * @return dict<string, PhabricatorPHIDType> Map of constants to installed 214 - * types. 212 + * @param string Class name of an application 213 + * @return dict<string, PhabricatorPHIDType> Map of constants of application 215 214 */ 216 215 public static function getAllTypesForApplication( 217 216 string $application) {