@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * automatically generated from sphinx documentation |
|
4 | - */ |
|
3 | + * automatically generated from sphinx documentation |
|
4 | + */ |
|
5 | 5 | |
6 | 6 | namespace LTDBeget\sphinx\enums\options; |
7 | 7 |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * automatically generated from sphinx documentation |
|
4 | - */ |
|
3 | + * automatically generated from sphinx documentation |
|
4 | + */ |
|
5 | 5 | |
6 | 6 | namespace LTDBeget\sphinx\enums\options; |
7 | 7 |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * automatically generated from sphinx documentation |
|
4 | - */ |
|
3 | + * automatically generated from sphinx documentation |
|
4 | + */ |
|
5 | 5 | |
6 | 6 | namespace LTDBeget\sphinx\enums\options; |
7 | 7 |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author: Viskov Sergey |
|
4 | - * @date: 20.03.16 |
|
5 | - * @time: 1:53 |
|
6 | - */ |
|
3 | + * @author: Viskov Sergey |
|
4 | + * @date: 20.03.16 |
|
5 | + * @time: 1:53 |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | namespace LTDBeget\sphinx\configurator\configurationEntities\base; |
9 | 9 |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | */ |
74 | 74 | public function isSectionExist(eSection $section) : bool |
75 | 75 | { |
76 | - if($section == eSection::COMMON && version_compare( (string) $this->version, eVersion::V_2_2_1, '<')) { |
|
76 | + if ($section == eSection::COMMON && version_compare((string) $this->version, eVersion::V_2_2_1, '<')) { |
|
77 | 77 | return false; |
78 | 78 | } |
79 | 79 | |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | */ |
89 | 89 | public function iterateOptionInfo(eSection $section) |
90 | 90 | { |
91 | - if (! $this->isSectionExist($section)) { |
|
91 | + if (!$this->isSectionExist($section)) { |
|
92 | 92 | throw new \LogicException("Sphinx of version {$this->version} does't have section {$section}"); |
93 | 93 | } |
94 | 94 | |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | */ |
107 | 107 | private function getOptionName(eSection $section, string $optionName) : eOption |
108 | 108 | { |
109 | - $enumClassName = "LTDBeget\\sphinx\\enums\\options\\e".ucfirst( (string) $section)."Option"; |
|
109 | + $enumClassName = "LTDBeget\\sphinx\\enums\\options\\e" . ucfirst((string) $section) . "Option"; |
|
110 | 110 | /** |
111 | 111 | * @var eOption $enumClassName |
112 | 112 | */ |
@@ -186,7 +186,7 @@ |
||
186 | 186 | public function getCommon() : Common |
187 | 187 | { |
188 | 188 | $section = eSection::COMMON(); |
189 | - if(! $this->isAllowedSection($section)) { |
|
189 | + if (!$this->isAllowedSection($section)) { |
|
190 | 190 | throw new \LogicException("Sphinx of version {$this->version} does't have section {$section}"); |
191 | 191 | } |
192 | 192 |