Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3331599
D25932.1743510098.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
2 KB
Referenced Files
None
Subscribers
None
D25932.1743510098.diff
View Options
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();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 1, 12:21 (1 d, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1265265
Default Alt Text
D25932.1743510098.diff (2 KB)
Attached To
Mode
D25932: PHPDoc: Replace non-existing return type const with string
Attached
Detach File
Event Timeline
Log In to Comment