Completed
Pull Request — master (#1092)
by Timo
61:44 queued 26:32
created
Classes/System/Configuration/ExtensionConfiguration.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.