From 081344869f1a2198709246772ca3025292c5ad5f Mon Sep 17 00:00:00 2001
From: Kevin Ditscheid <kevin.ditscheid@sgalinski.de>
Date: Mon, 28 Jan 2019 14:18:49 +0100
Subject: [PATCH] [BUGFIX] Fix the return type of getConfiguration

---
 Classes/Service/ConfigurationService.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Classes/Service/ConfigurationService.php b/Classes/Service/ConfigurationService.php
index 6d97ba2..4ee488f 100644
--- a/Classes/Service/ConfigurationService.php
+++ b/Classes/Service/ConfigurationService.php
@@ -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);
-- 
GitLab