@@ -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,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 : 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 | |
@@ -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 | } |