@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author: Viskov Sergey |
|
4 | - * @date : 3/17/16 |
|
5 | - * @time : 2:41 PM |
|
6 | - */ |
|
3 | + * @author: Viskov Sergey |
|
4 | + * @date : 3/17/16 |
|
5 | + * @time : 2:41 PM |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | namespace LTDBeget\sphinx\enums; |
9 | 9 |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author: Viskov Sergey |
|
4 | - * @date : 17/03/16 |
|
5 | - * @time : 22:40 |
|
6 | - */ |
|
3 | + * @author: Viskov Sergey |
|
4 | + * @date : 17/03/16 |
|
5 | + * @time : 22:40 |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | namespace LTDBeget\sphinx\enums\base; |
9 | 9 |
@@ -19,6 +19,6 @@ |
||
19 | 19 | */ |
20 | 20 | public function __toString() : string |
21 | 21 | { |
22 | - return (string)$this->getValue(); |
|
22 | + return (string) $this->getValue(); |
|
23 | 23 | } |
24 | 24 | } |
25 | 25 | \ No newline at end of file |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author: Viskov Sergey |
|
4 | - * @date : 3/17/16 |
|
5 | - * @time : 2:46 PM |
|
6 | - */ |
|
3 | + * @author: Viskov Sergey |
|
4 | + * @date : 3/17/16 |
|
5 | + * @time : 2:46 PM |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | namespace LTDBeget\sphinx\enums\base; |
9 | 9 |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author: Viskov Sergey |
|
4 | - * @date : 3/14/16 |
|
5 | - * @time : 12:54 PM |
|
6 | - */ |
|
3 | + * @author: Viskov Sergey |
|
4 | + * @date : 3/14/16 |
|
5 | + * @time : 12:54 PM |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | namespace LTDBeget\sphinx\configurator\serializers; |
9 | 9 |
@@ -141,8 +141,8 @@ discard block |
||
141 | 141 | private function serializeDefinition(Definition $definition) |
142 | 142 | { |
143 | 143 | $this->arrayConfiguration[] = [ |
144 | - 'type' => (string)$definition->getType(), |
|
145 | - 'name' => (string)$definition->getName(), |
|
144 | + 'type' => (string) $definition->getType(), |
|
145 | + 'name' => (string) $definition->getName(), |
|
146 | 146 | 'inheritance' => $definition->isHasInheritance() ? $definition->getInheritance()->getName() : NULL, |
147 | 147 | 'options' => $this->serializeOptions($definition) |
148 | 148 | ]; |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | private function serializeSettings(Settings $settings) |
160 | 160 | { |
161 | 161 | $this->arrayConfiguration[] = [ |
162 | - 'type' => (string)$settings->getType(), |
|
162 | + 'type' => (string) $settings->getType(), |
|
163 | 163 | 'options' => $this->serializeOptions($settings) |
164 | 164 | ]; |
165 | 165 | } |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | |
178 | 178 | foreach ($section->iterateOptions() as $option) { |
179 | 179 | $options[] = [ |
180 | - 'name' => (string)$option->getName(), |
|
180 | + 'name' => (string) $option->getName(), |
|
181 | 181 | 'value' => $option->getValue() |
182 | 182 | ]; |
183 | 183 | } |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author: Viskov Sergey |
|
4 | - * @date : 3/14/16 |
|
5 | - * @time : 6:36 PM |
|
6 | - */ |
|
3 | + * @author: Viskov Sergey |
|
4 | + * @date : 3/14/16 |
|
5 | + * @time : 6:36 PM |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | namespace LTDBeget\sphinx\configurator\serializers; |
9 | 9 |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author: Viskov Sergey |
|
4 | - * @date : 3/3/16 |
|
5 | - * @time : 5:13 PM |
|
6 | - */ |
|
3 | + * @author: Viskov Sergey |
|
4 | + * @date : 3/3/16 |
|
5 | + * @time : 5:13 PM |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | namespace LTDBeget\sphinx\configurator\serializers; |
9 | 9 |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author: Viskov Sergey |
|
4 | - * @date : 3/2/16 |
|
5 | - * @time : 8:04 PM |
|
6 | - */ |
|
3 | + * @author: Viskov Sergey |
|
4 | + * @date : 3/2/16 |
|
5 | + * @time : 8:04 PM |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | namespace LTDBeget\sphinx\configurator\configurationEntities; |
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 |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | public function __toString() : string |
89 | 89 | { |
90 | 90 | try { |
91 | - $string = (string)$this->getType(); |
|
91 | + $string = (string) $this->getType(); |
|
92 | 92 | } catch (\Exception $e) { |
93 | 93 | $string = ''; |
94 | 94 | } |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | final protected function addOptionInternal(eOption $name, string $value) : Option |
150 | 150 | { |
151 | 151 | $option = $this->createOption($name, $value); |
152 | - $option_name = (string)$option->getName(); |
|
152 | + $option_name = (string) $option->getName(); |
|
153 | 153 | |
154 | 154 | if ($option->isMultiValue()) { |
155 | 155 | $this->options[$option_name] = $this->options[$option_name] ?? []; |