@@ -56,7 +56,7 @@ |
||
56 | 56 | |
57 | 57 | /** |
58 | 58 | * @param string $key |
59 | - * @param mixed $defaultValue |
|
59 | + * @param boolean $defaultValue |
|
60 | 60 | * @return mixed |
61 | 61 | */ |
62 | 62 | protected function getConfigurationOrDefaultValue($key, $defaultValue) |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | public function __construct($configurationToUse = []) |
41 | 41 | { |
42 | 42 | if (empty($configurationToUse)) { |
43 | - $this->configuration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['solr']); |
|
43 | + $this->configuration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['solr']); |
|
44 | 44 | } else { |
45 | 45 | $this->configuration = $configurationToUse; |
46 | 46 | } |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | */ |
52 | 52 | public function getIsUseConfigurationFromClosestTemplateEnabled() |
53 | 53 | { |
54 | - return (bool) $this->getConfigurationOrDefaultValue('useConfigurationFromClosestTemplate', false); |
|
54 | + return (bool)$this->getConfigurationOrDefaultValue('useConfigurationFromClosestTemplate', false); |
|
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |