diff options
Diffstat (limited to 'matrix-specification')
| -rw-r--r-- | matrix-specification/Data/PushRule.php | 2 | ||||
| -rw-r--r-- | matrix-specification/Enums/PushConditionKind.php | 1 |
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"; |
