Skip to content
Snippets Groups Projects
Commit 08134486 authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[BUGFIX] Fix the return type of getConfiguration

parent 8cb932f6
No related branches found
No related tags found
2 merge requests!13Feature remove sg news ajax plugin,!8Feature upgrade to9 lts
......@@ -49,9 +49,9 @@ class ConfigurationService implements SingletonInterface {
* @param string $key
* @param array $settings
* @throws InvalidConfigurationTypeException
* @return string
* @return array|string|NULL
*/
public function getConfiguration($key, array $settings): string {
public function getConfiguration($key, array $settings) {
if (!$this->tsConfig) {
$configurationManager = GeneralUtility::makeInstance(ConfigurationManager::class);
$this->tsConfig = $configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment