Completed
Push — master ( f94e53...00207b )
by Sergey
02:16
created
src/LTDBeget/sphinx/configurator/deserializers/ArrayDeserializer.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -80,15 +80,15 @@  discard block
 block discarded – undo
80 80
         $name = $section['name'] ?? null;
81 81
         $inheritance = $section['inheritance'] ?? null;
82 82
 
83
-        switch($type) {
83
+        switch ($type) {
84 84
             case eSection::INDEXER():
85
-                $section =  $this->objectConfiguration->getIndexer();
85
+                $section = $this->objectConfiguration->getIndexer();
86 86
                 break;
87 87
             case eSection::SEARCHD():
88
-                $section =  $this->objectConfiguration->getSearchd();
88
+                $section = $this->objectConfiguration->getSearchd();
89 89
                 break;
90 90
             case eSection::COMMON():
91
-                $section =  $this->objectConfiguration->getCommon();
91
+                $section = $this->objectConfiguration->getCommon();
92 92
                 break;
93 93
             case eSection::SOURCE():
94 94
                 $section = $this->objectConfiguration->addSource($name, $inheritance);
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     private function getOptionName(Section $section, string $name) : eOption
143 143
     {
144
-        switch($section->getType()) {
144
+        switch ($section->getType()) {
145 145
             case eSection::SOURCE():
146 146
                 $option = eSourceOption::get($name);
147 147
                 break;
Please login to merge, or discard this patch.