@@ -80,15 +80,15 @@ discard block |
||
| 80 | 80 | $name = $section['name'] ?? null; |
| 81 | 81 | $inheritance = $section['inheritance'] ?? null; |
| 82 | 82 | |
| 83 | - switch($type) { |
|
| 83 | + switch ($type) { |
|
| 84 | 84 | case eSection::INDEXER(): |
| 85 | - $section = $this->objectConfiguration->getIndexer(); |
|
| 85 | + $section = $this->objectConfiguration->getIndexer(); |
|
| 86 | 86 | break; |
| 87 | 87 | case eSection::SEARCHD(): |
| 88 | - $section = $this->objectConfiguration->getSearchd(); |
|
| 88 | + $section = $this->objectConfiguration->getSearchd(); |
|
| 89 | 89 | break; |
| 90 | 90 | case eSection::COMMON(): |
| 91 | - $section = $this->objectConfiguration->getCommon(); |
|
| 91 | + $section = $this->objectConfiguration->getCommon(); |
|
| 92 | 92 | break; |
| 93 | 93 | case eSection::SOURCE(): |
| 94 | 94 | $section = $this->objectConfiguration->addSource($name, $inheritance); |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | */ |
| 142 | 142 | private function getOptionName(Section $section, string $name) : eOption |
| 143 | 143 | { |
| 144 | - switch($section->getType()) { |
|
| 144 | + switch ($section->getType()) { |
|
| 145 | 145 | case eSection::SOURCE(): |
| 146 | 146 | $option = eSourceOption::get($name); |
| 147 | 147 | break; |