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 Dec 16, 2023
1 parent bfd003f commit ad8743d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions pages/neues.author.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

echo rex_view::title(rex_addon::get('neues')->getProperty('page')['title']);

$currentPage = rex_be_controller::getCurrentPageObject();
Expand Down
1 change: 1 addition & 0 deletions pages/neues.category.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

echo rex_view::title(rex_addon::get('neues')->getProperty('page')['title']);

$currentPage = rex_be_controller::getCurrentPageObject();
Expand Down
8 changes: 4 additions & 4 deletions pages/neues.docs.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

$mdFiles = [];
foreach (glob(rex_addon::get('neues')->getPath('docs').'/*.md') ?: [] as $file) {
foreach (glob(rex_addon::get('neues')->getPath('docs') . '/*.md') ?: [] as $file) {
$mdFiles[mb_substr(basename($file), 0, -3)] = $file;
}

Expand All @@ -22,10 +22,10 @@
$keyWithoudPrio = mb_substr($key, 3);
$currenMDFileWithoudPrio = mb_substr($currenMDFile, 3);
$page->addSubpage(
(new rex_be_page($key, rex_i18n::msg('neues_docs_'.$keyWithoudPrio)))
(new rex_be_page($key, rex_i18n::msg('neues_docs_' . $keyWithoudPrio)))
->setSubPath($mdFile)
->setHref('index.php?page=neues/docs&mdfile='.$key)
->setIsActive($key == $currenMDFile)
->setHref('index.php?page=neues/docs&mdfile=' . $key)
->setIsActive($key == $currenMDFile),
);
}
}
Expand Down
1 change: 1 addition & 0 deletions pages/neues.entry.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

echo rex_view::title(rex_addon::get('neues')->getProperty('page')['title']);

$currentPage = rex_be_controller::getCurrentPageObject();
Expand Down
1 change: 1 addition & 0 deletions pages/neues.lang.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

echo rex_view::title(rex_addon::get('neues')->getProperty('page')['title']);

$currentPage = rex_be_controller::getCurrentPageObject();
Expand Down
1 change: 1 addition & 0 deletions pages/neues.settings.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

echo rex_view::title(rex_addon::get('neues')->getProperty('page')['title']);

$addon = rex_addon::get('neues');
Expand Down

0 comments on commit ad8743d

Please sign in to comment.