@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @author: Viskov Sergey |
|
| 4 | - * @date: 3/17/16 |
|
| 5 | - * @time: 2:32 PM |
|
| 6 | - */ |
|
| 3 | + * @author: Viskov Sergey |
|
| 4 | + * @date: 3/17/16 |
|
| 5 | + * @time: 2:32 PM |
|
| 6 | + */ |
|
| 7 | 7 | |
| 8 | 8 | namespace LTDBeget\sphinx\informer; |
| 9 | 9 | |
@@ -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 | |
@@ -47,11 +47,11 @@ discard block |
||
| 47 | 47 | */ |
| 48 | 48 | public function getOptionInfo(eSection $section, eOption $optionName) : OptionInfo |
| 49 | 49 | { |
| 50 | - if (! $this->isSectionExist($section)) { |
|
| 50 | + if (!$this->isSectionExist($section)) { |
|
| 51 | 51 | throw new InformerRuntimeException("Sphinx of version {$this->version} does't have section {$section}"); |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | - if (! $this->isKnownOption($section, $optionName)) { |
|
| 54 | + if (!$this->isKnownOption($section, $optionName)) { |
|
| 55 | 55 | throw new InformerRuntimeException("For sphinx v. {$this->version} option {$optionName} in {$section} isn't available"); |
| 56 | 56 | } |
| 57 | 57 | |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | */ |
| 95 | 95 | public function iterateOptionInfo(eSection $section) |
| 96 | 96 | { |
| 97 | - if (! $this->isSectionExist($section)) { |
|
| 97 | + if (!$this->isSectionExist($section)) { |
|
| 98 | 98 | throw new InformerRuntimeException("Sphinx of version {$this->version} does't have section {$section}"); |
| 99 | 99 | } |
| 100 | 100 | |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | */ |
| 115 | 115 | private function getOptionName(eSection $section, string $optionName) : eOption |
| 116 | 116 | { |
| 117 | - $enumClassName = "LTDBeget\\sphinx\\enums\\options\\e".ucfirst( (string) $section). 'Option'; |
|
| 117 | + $enumClassName = "LTDBeget\\sphinx\\enums\\options\\e" . ucfirst((string) $section) . 'Option'; |
|
| 118 | 118 | /** |
| 119 | 119 | * @var eOption $enumClassName |
| 120 | 120 | */ |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @author: Viskov Sergey |
|
| 4 | - * @date : 3/21/16 |
|
| 5 | - * @time : 9:09 PM |
|
| 6 | - */ |
|
| 3 | + * @author: Viskov Sergey |
|
| 4 | + * @date : 3/21/16 |
|
| 5 | + * @time : 9:09 PM |
|
| 6 | + */ |
|
| 7 | 7 | |
| 8 | 8 | namespace LTDBeget\sphinx\informer\exceptions; |
| 9 | 9 | |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | public function iterateSource() |
| 175 | 175 | { |
| 176 | 176 | foreach ($this->sources as $source) { |
| 177 | - if (! $source->isDeleted()) { |
|
| 177 | + if (!$source->isDeleted()) { |
|
| 178 | 178 | yield $source; |
| 179 | 179 | } |
| 180 | 180 | } |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | public function iterateIndex() |
| 204 | 204 | { |
| 205 | 205 | foreach ($this->indexes as $index) { |
| 206 | - if (! $index->isDeleted()) { |
|
| 206 | + if (!$index->isDeleted()) { |
|
| 207 | 207 | yield $index; |
| 208 | 208 | } |
| 209 | 209 | } |
@@ -249,7 +249,7 @@ discard block |
||
| 249 | 249 | public function getCommon() : Common |
| 250 | 250 | { |
| 251 | 251 | $section = eSection::COMMON(); |
| 252 | - if(! $this->isAllowedSection($section)) { |
|
| 252 | + if (!$this->isAllowedSection($section)) { |
|
| 253 | 253 | throw new ConfigurationException("Sphinx of version {$this->version} does't have section {$section}"); |
| 254 | 254 | } |
| 255 | 255 | |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @author: Viskov Sergey |
|
| 4 | - * @date: 22.03.16 |
|
| 5 | - * @time: 0:43 |
|
| 6 | - */ |
|
| 3 | + * @author: Viskov Sergey |
|
| 4 | + * @date: 22.03.16 |
|
| 5 | + * @time: 0:43 |
|
| 6 | + */ |
|
| 7 | 7 | |
| 8 | 8 | namespace LTDBeget\sphinx\configurator\exceptions; |
| 9 | 9 | |