1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02:00

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
This commit is contained in:
Andre Klapper 2024-04-07 21:59:25 +02:00
parent ecbef3fdf4
commit 5a5c456264

View file

@ -207,11 +207,10 @@ abstract class PhabricatorPHIDType extends Phobject {
/**
* Get all PHID types of applications installed for a given viewer.
* Get all PHID types of an application.
*
* @param PhabricatorUser Viewing user.
* @return dict<string, PhabricatorPHIDType> Map of constants to installed
* types.
* @param string Class name of an application
* @return dict<string, PhabricatorPHIDType> Map of constants of application
*/
public static function getAllTypesForApplication(
string $application) {