summaryrefslogtreecommitdiff
path: root/matrix-specification
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2026-04-16 15:39:21 +0200
committerDaniel Weipert <git@mail.dweipert.de>2026-04-16 15:39:21 +0200
commit21593231a0e7de30004a8b4530047b4ad4680db7 (patch)
tree7a86fd3e99bd37631c48474bcdfb267d0763b4af /matrix-specification
parentf3202403339e94f0186b9ff19e83c7a32fdad198 (diff)
implement against elementHEADmain
Diffstat (limited to 'matrix-specification')
-rw-r--r--matrix-specification/Data/PushRule.php2
-rw-r--r--matrix-specification/Enums/PushConditionKind.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/matrix-specification/Data/PushRule.php b/matrix-specification/Data/PushRule.php
index 2217a78..f904b3a 100644
--- a/matrix-specification/Data/PushRule.php
+++ b/matrix-specification/Data/PushRule.php
@@ -5,7 +5,7 @@ namespace Matrix\Data;
class PushRule implements \JsonSerializable
{
/**
- * @param array<string|array> $actions
+ * @param array<string|array<string, mixed>> $actions
* @param PushCondition[] $conditions
*/
public function __construct(
diff --git a/matrix-specification/Enums/PushConditionKind.php b/matrix-specification/Enums/PushConditionKind.php
index fe61c16..41223aa 100644
--- a/matrix-specification/Enums/PushConditionKind.php
+++ b/matrix-specification/Enums/PushConditionKind.php
@@ -4,6 +4,7 @@ namespace Matrix\Enums;
enum PushConditionKind: string implements \JsonSerializable
{
+ case CONTAINS_DISPLAY_NAME = "contains_display_name";
case EVENT_MATCH = "event_match";
case EVENT_PROPERTY_CONTAINS = "event_property_contains";
case EVENT_PROPERTY_IS = "event_property_is";