Passed
Push — master ( 334afa...1ec06c )
by Sergey
08:34
created
src/LTDBeget/sphinx/configurator/configurationEntities/sections/Index.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,17 +42,17 @@
 block discarded – undo
42 42
 
43 43
         do {
44 44
             foreach ($index->iterateOptions() as $option) {
45
-                if(eIndexOption::SOURCE()->is($option->getName()) ) {
45
+                if (eIndexOption::SOURCE()->is($option->getName())) {
46 46
                     $source_name = $option->getValue();
47 47
                 }
48 48
             }
49
-            if($index->isHasInheritance()) {
49
+            if ($index->isHasInheritance()) {
50 50
                 $index = $index->getInheritance();
51 51
             }
52
-        } while($index->isHasInheritance());
52
+        } while ($index->isHasInheritance());
53 53
 
54 54
         foreach ($this->getConfiguration()->iterateSource() as $source) {
55
-            if($source->getName() === $source_name) {
55
+            if ($source->getName() === $source_name) {
56 56
                 return $source;
57 57
             }
58 58
         }
Please login to merge, or discard this patch.