Skip to content

Commit

Permalink
Fixed some php8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
digedag committed Nov 11, 2023
1 parent 482410a commit d4ba467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/Backend/Form/ToolBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@ public function getStoredRequestData($key, $changed = [], $modName = 'DEFRNBASEM
}
$ret = BackendUtility::getModuleData([$key => ''], $changed, $modName);

return $ret[$key];
return $ret[$key] ?? null;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion Classes/Backend/Module/ModFuncFrame.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function render(IModFunc $modFunc, callable $renderFunc, ServerRequestInt
$this->currentModule = $request->getAttribute('module');
$this->getLanguageService()->includeLLFile('EXT:rn_base/Resources/Private/Language/locallang.xlf');
$config = $this->getConfigurations();
$files = $config->get('languagefiles.');
$files = $config->get('languagefiles.') ?? [];
foreach ($files as $filename) {
$this->getLanguageService()->includeLLFile($filename);
}
Expand Down

0 comments on commit d4ba467

Please sign in to comment.