@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | |
| 94 | 94 | $replacement = $this->recursivePlaceholderSearch($keys, $placeholders, $treePosition); |
| 95 | 95 | |
| 96 | - if ($replacement){ |
|
| 96 | + if ($replacement) { |
|
| 97 | 97 | return $replacement; |
| 98 | 98 | } else { |
| 99 | 99 | throw new UndefinedPlaceholderException("No placeholder is defined on $treePosition>$key for variant $variant"); |
@@ -122,9 +122,9 @@ discard block |
||
| 122 | 122 | return false; |
| 123 | 123 | } |
| 124 | 124 | |
| 125 | - private function getSectionPlaceholders($configKey, $section){ |
|
| 125 | + private function getSectionPlaceholders($configKey, $section) { |
|
| 126 | 126 | $config = $this->getConfig($configKey); |
| 127 | - if (!key_exists($section, $config)){ |
|
| 127 | + if (!key_exists($section, $config)) { |
|
| 128 | 128 | throw new MissingSectionException( |
| 129 | 129 | $configKey, |
| 130 | 130 | $this->getFilePath($configKey), |