summaryrefslogtreecommitdiff
path: root/matrix-specification/Events/UnsignedData.php
diff options
context:
space:
mode:
Diffstat (limited to 'matrix-specification/Events/UnsignedData.php')
-rw-r--r--matrix-specification/Events/UnsignedData.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix-specification/Events/UnsignedData.php b/matrix-specification/Events/UnsignedData.php
index 924af29..3c5cd46 100644
--- a/matrix-specification/Events/UnsignedData.php
+++ b/matrix-specification/Events/UnsignedData.php
@@ -26,6 +26,6 @@ class UnsignedData implements \JsonSerializable
"prev_content" => $this->previousContent,
"redacted_because" => $this->redactedBecause,
"transaction_id" => $this->transactionId,
- ], "is_null");
+ ], fn ($value) => ! is_null($value));
}
}