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/ThreadNotificationCounts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'matrix-specification/Data/Room/ThreadNotificationCounts.php') diff --git a/matrix-specification/Data/Room/ThreadNotificationCounts.php b/matrix-specification/Data/Room/ThreadNotificationCounts.php index 346aeb3..602de61 100644 --- a/matrix-specification/Data/Room/ThreadNotificationCounts.php +++ b/matrix-specification/Data/Room/ThreadNotificationCounts.php @@ -15,6 +15,6 @@ class ThreadNotificationCounts implements \JsonSerializable return array_filter([ "highlight_count" => $this->highlightCount, "notification_count" => $this->notificationCount, - ], "is_null"); + ], fn ($value) => ! is_null($value)); } } -- cgit v1.2.3