mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01: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:
parent
ecbef3fdf4
commit
5a5c456264
1 changed files with 3 additions and 4 deletions
|
@ -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.
|
* @param string Class name of an application
|
||||||
* @return dict<string, PhabricatorPHIDType> Map of constants to installed
|
* @return dict<string, PhabricatorPHIDType> Map of constants of application
|
||||||
* types.
|
|
||||||
*/
|
*/
|
||||||
public static function getAllTypesForApplication(
|
public static function getAllTypesForApplication(
|
||||||
string $application) {
|
string $application) {
|
||||||
|
|
Loading…
Reference in a new issue