@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace LTDBeget\sphinx\configurator; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace LTDBeget\sphinx\configurator; |
6 | 6 |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | private function serializeIndexer() |
95 | 95 | { |
96 | 96 | if ($this->object->hasIndexer()) { |
97 | - $this->string .= (string)ConfigurationHelper::getOrCreateIndexer($this->object); |
|
97 | + $this->string .= (string) ConfigurationHelper::getOrCreateIndexer($this->object); |
|
98 | 98 | } |
99 | 99 | } |
100 | 100 | |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | private function serializeSearchd() |
105 | 105 | { |
106 | 106 | if ($this->object->hasSearchd()) { |
107 | - $this->string .= (string)ConfigurationHelper::getOrCreateSearchd($this->object); |
|
107 | + $this->string .= (string) ConfigurationHelper::getOrCreateSearchd($this->object); |
|
108 | 108 | } |
109 | 109 | } |
110 | 110 | |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | private function serializeCommon() |
116 | 116 | { |
117 | 117 | if ($this->object->hasCommon()) { |
118 | - $this->string .= (string)ConfigurationHelper::getOrCreateCommon($this->object); |
|
118 | + $this->string .= (string) ConfigurationHelper::getOrCreateCommon($this->object); |
|
119 | 119 | } |
120 | 120 | } |
121 | 121 | } |
@@ -43,17 +43,17 @@ |
||
43 | 43 | |
44 | 44 | do { |
45 | 45 | foreach ($index->iterateOptions() as $option) { |
46 | - if(eIndexOption::SOURCE()->is($option->getName()) ) { |
|
46 | + if (eIndexOption::SOURCE()->is($option->getName())) { |
|
47 | 47 | $source_name = $option->getValue(); |
48 | 48 | } |
49 | 49 | } |
50 | - if($index->isHasInheritance()) { |
|
50 | + if ($index->isHasInheritance()) { |
|
51 | 51 | $index = $index->getInheritance(); |
52 | 52 | } |
53 | - } while($index->isHasInheritance()); |
|
53 | + } while ($index->isHasInheritance()); |
|
54 | 54 | |
55 | 55 | foreach ($this->getConfiguration()->iterateSources() as $source) { |
56 | - if($source->getName() === $source_name) { |
|
56 | + if ($source->getName() === $source_name) { |
|
57 | 57 | return $source; |
58 | 58 | } |
59 | 59 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace LTDBeget\sphinx\configurator; |
6 | 6 |