@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: Correct return type of PhabricatorPolicyInterface::getCapabilities()

Summary:
This is an array of string constants.

Closes T16327

Test Plan: Go to a Maniphest task; inspect array content via phlog().

Reviewers: O1 Blessed Committers, mainframe98

Reviewed By: O1 Blessed Committers, mainframe98

Subscribers: mainframe98, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T16327

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

+2 -1
+2 -1
src/applications/policy/interface/PhabricatorPolicyInterface.php
··· 3 3 interface PhabricatorPolicyInterface extends PhabricatorPHIDInterface { 4 4 5 5 /** 6 - * @return array<PhabricatorPolicyCapability> 6 + * @return array<string> Array of string constants defined in 7 + * @{class:PhabricatorPolicyCapability} or in a child class of it 7 8 */ 8 9 public function getCapabilities(); 9 10