From 1534ca2d72925f57f549b19c66b85b90903d0222 Mon Sep 17 00:00:00 2001 From: Andre Klapper Date: Thu, 20 Nov 2025 13:07:18 +0100 Subject: [PATCH] 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 --- .../policy/interface/PhabricatorPolicyInterface.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/applications/policy/interface/PhabricatorPolicyInterface.php b/src/applications/policy/interface/PhabricatorPolicyInterface.php index 64045b9418..904c205d73 100644 --- a/src/applications/policy/interface/PhabricatorPolicyInterface.php +++ b/src/applications/policy/interface/PhabricatorPolicyInterface.php @@ -3,7 +3,8 @@ interface PhabricatorPolicyInterface extends PhabricatorPHIDInterface { /** - * @return array + * @return array Array of string constants defined in + * @{class:PhabricatorPolicyCapability} or in a child class of it */ public function getCapabilities(); -- 2.51.2