@@ -42,17 +42,17 @@ |
||
| 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 | } |