Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4845324
D26068.1749351087.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
1 KB
Referenced Files
None
Subscribers
None
D26068.1749351087.diff
View Options
diff --git a/src/applications/transactions/storage/PhabricatorModularTransactionType.php b/src/applications/transactions/storage/PhabricatorModularTransactionType.php
--- a/src/applications/transactions/storage/PhabricatorModularTransactionType.php
+++ b/src/applications/transactions/storage/PhabricatorModularTransactionType.php
@@ -431,7 +431,7 @@
* @param object $object Object being edited.
* @param PhabricatorApplicationTransaction $xaction Transaction being
* applied.
- * @return null|const|list<const> A capability constant (or list of
+ * @return null|string|list<string> A capability constant (or list of
* capability constants) which the actor must have on the object. You can
* return `null` as a shorthand for "no capabilities are required".
*/
diff --git a/src/infrastructure/customfield/field/PhabricatorCustomField.php b/src/infrastructure/customfield/field/PhabricatorCustomField.php
--- a/src/infrastructure/customfield/field/PhabricatorCustomField.php
+++ b/src/infrastructure/customfield/field/PhabricatorCustomField.php
@@ -1554,7 +1554,7 @@
/**
* Get the available conditions for this field in Herald.
*
- * @return list<const> List of Herald condition constants.
+ * @return list<string> List of Herald condition constants.
* @task herald
*/
public function getHeraldFieldConditions() {
diff --git a/src/infrastructure/edges/editor/PhabricatorEdgeEditor.php b/src/infrastructure/edges/editor/PhabricatorEdgeEditor.php
--- a/src/infrastructure/edges/editor/PhabricatorEdgeEditor.php
+++ b/src/infrastructure/edges/editor/PhabricatorEdgeEditor.php
@@ -354,7 +354,8 @@
* Get a list of all edge types which are being added, and which we should
* prevent cycles on.
*
- * @return list<const> List of edge types which should have cycles prevented.
+ * @return list<int|string> List of edge type constants which should have
+ * cycles prevented.
* @task cycle
*/
private function getPreventCyclesEdgeTypes() {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jun 8, 02:51 (12 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1753796
Default Alt Text
D26068.1749351087.diff (1 KB)
Attached To
Mode
D26068: PHPDoc: Replace non-existing return type const with string(|int)
Attached
Detach File
Event Timeline
Log In to Comment