From 2ead4404881a33c2e4ae04eea3f218d22a4160d1 Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 27 Jan 2024 14:02:51 +0200 Subject: [PATCH] remove array filter --- src/controller/room.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/room.php b/src/controller/room.php index 4623c9f..722d938 100644 --- a/src/controller/room.php +++ b/src/controller/room.php @@ -160,7 +160,7 @@ class Room public function posts(string $namespace): ?string { // Get all records by namespace - if (!$records = (array) $this->_records($namespace)) + if (!$records = $this->_records($namespace)) { return null; }