From 50125c365a047eeb015daf26b66fc014525adbd1 Mon Sep 17 00:00:00 2001 From: alxndr-w Date: Wed, 25 Oct 2023 12:30:12 +0000 Subject: [PATCH] Apply php-cs-fixer changes --- lib/neues.php | 4 +--- lib/neues_entry.php | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/neues.php b/lib/neues.php index 11ec819..8b8b866 100644 --- a/lib/neues.php +++ b/lib/neues.php @@ -1,5 +1,3 @@ categories) { $this->categories = $this->getRelatedCollection('category_ids'); @@ -51,11 +51,11 @@ public function getImage(): string /** @api */ public function getImages(): ?array { - return array_filter(explode(",", $this->getValue('images'))); + return array_filter(explode(',', $this->getValue('images'))); } /** @api */ - public function getMedia() : ?rex_media + public function getMedia(): ?rex_media { return rex_media::get($this->getImage()); }