Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr-w authored and github-actions[bot] committed Oct 25, 2023
1 parent 245c3fc commit 50125c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions lib/neues.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<?php

class neues
{
}
class neues {}
6 changes: 3 additions & 3 deletions lib/neues_entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function getTeaser(): string
}

/** @api */
public function getCategories() : ?rex_yform_manager_collection
public function getCategories(): ?rex_yform_manager_collection
{
if (!$this->categories) {
$this->categories = $this->getRelatedCollection('category_ids');
Expand All @@ -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());
}
Expand Down

0 comments on commit 50125c3

Please sign in to comment.