From 2386148b8f048ba40d9f26cc97898bdcdc778ea2 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sat, 13 Dec 2025 16:27:53 +0100 Subject: matrix specification split --- matrix-specification/Data/Room/UnreadNotificationCounts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'matrix-specification/Data/Room/UnreadNotificationCounts.php') diff --git a/matrix-specification/Data/Room/UnreadNotificationCounts.php b/matrix-specification/Data/Room/UnreadNotificationCounts.php index d2600e6..f00a6a5 100644 --- a/matrix-specification/Data/Room/UnreadNotificationCounts.php +++ b/matrix-specification/Data/Room/UnreadNotificationCounts.php @@ -15,6 +15,6 @@ class UnreadNotificationCounts implements \JsonSerializable return array_filter([ "highlight_count" => $this->highlightCount, "notification_count" => $this->notificationCount, - ], "is_null"); + ], fn ($value) => ! is_null($value)); } } -- cgit v1.2.3