Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Oct 25, 2022
1 parent c17f06d commit 82ab36f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Classes/Domain/Model/Theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ public function __construct($extensionName)
} catch (ParseErrorException $exception) {
$this->metaInformation = [];
}

} else {
throw new \Exception('No Yaml meta information found!');
}
Expand Down
2 changes: 1 addition & 1 deletion Classes/ViewHelpers/ConstantViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static function renderStatic(
) {
$constant = trim($arguments['constant']);
if (($GLOBALS['TSFE']->tmpl->flatSetup === null) || (!is_array($GLOBALS['TSFE']->tmpl->flatSetup)) || (count($GLOBALS['TSFE']->tmpl->flatSetup) === 0)) {
$GLOBALS['TSFE']->tmpl->generateConfig();
$GLOBALS['TSFE']->tmpl->generateConfig();
}

return $GLOBALS['TSFE']->tmpl->flatSetup[$constant] ?? '';
Expand Down

0 comments on commit 82ab36f

Please sign in to comment.