diff options
Diffstat (limited to 'app/Models/UserQuery.php')
| -rw-r--r-- | app/Models/UserQuery.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/UserQuery.php b/app/Models/UserQuery.php index a4cb469fe..f5e45f6d2 100644 --- a/app/Models/UserQuery.php +++ b/app/Models/UserQuery.php @@ -73,14 +73,14 @@ class FreshRSS_UserQuery { * @return array{'get'?:string,'name'?:string,'order'?:string,'search'?:string,'state'?:int,'url'?:string} */ public function toArray(): array { - return array_filter(array( + return array_filter([ 'get' => $this->get, 'name' => $this->name, 'order' => $this->order, 'search' => $this->search->__toString(), 'state' => $this->state, 'url' => $this->url, - )); + ]); } /** |
