Page MenuHomePhorge

D26068.1749351087.diff
No OneTemporary

D26068.1749351087.diff

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

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)

Event Timeline