diff --git a/src/applications/auth/engine/PhabricatorAuthSessionEngine.php b/src/applications/auth/engine/PhabricatorAuthSessionEngine.php --- a/src/applications/auth/engine/PhabricatorAuthSessionEngine.php +++ b/src/applications/auth/engine/PhabricatorAuthSessionEngine.php @@ -76,7 +76,7 @@ * session token. Returns a `KIND_` constant. * * @param string $session_token Session token. - * @return const Session kind constant. + * @return string Session kind constant. */ public static function getSessionKindFromToken($session_token) { if (strpos($session_token, '/') === false) { diff --git a/src/applications/conduit/method/ConduitAPIMethod.php b/src/applications/conduit/method/ConduitAPIMethod.php --- a/src/applications/conduit/method/ConduitAPIMethod.php +++ b/src/applications/conduit/method/ConduitAPIMethod.php @@ -115,7 +115,7 @@ * Should return a METHOD_STATUS_* constant. By default, methods are * "stable". * - * @return const METHOD_STATUS_* constant. + * @return string METHOD_STATUS_* constant. * @task status */ public function getMethodStatus() { diff --git a/src/applications/policy/constants/PhabricatorPolicies.php b/src/applications/policy/constants/PhabricatorPolicies.php --- a/src/applications/policy/constants/PhabricatorPolicies.php +++ b/src/applications/policy/constants/PhabricatorPolicies.php @@ -11,7 +11,7 @@ * Returns the most public policy this install's configuration permits. * This is either "public" (if available) or "all users" (if not). * - * @return const Most open working policy constant. + * @return string Most open working policy constant. */ public static function getMostOpenPolicy() { if (PhabricatorEnv::getEnvConfig('policy.allow-public')) { diff --git a/src/applications/settings/panel/PhabricatorSettingsPanel.php b/src/applications/settings/panel/PhabricatorSettingsPanel.php --- a/src/applications/settings/panel/PhabricatorSettingsPanel.php +++ b/src/applications/settings/panel/PhabricatorSettingsPanel.php @@ -144,7 +144,7 @@ /** * Return a panel group key constant for this panel. * - * @return const Panel group key. + * @return string Panel group key. * @task config */ abstract public function getPanelGroupKey();