diff options
Diffstat (limited to 'matrix-specification/Data/Room/Timeline.php')
| -rw-r--r-- | matrix-specification/Data/Room/Timeline.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix-specification/Data/Room/Timeline.php b/matrix-specification/Data/Room/Timeline.php index cc88472..8d70ddd 100644 --- a/matrix-specification/Data/Room/Timeline.php +++ b/matrix-specification/Data/Room/Timeline.php @@ -22,6 +22,6 @@ class Timeline implements \JsonSerializable "events" => $this->events, "limited" => $this->limited, "prev_batch" => $this->previousBatch, - ], "is_null"); + ], fn ($value) => ! is_null($value)); } } |
