| Conditions | 4 |
| Paths | 6 |
| Total Lines | 18 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | protected function getIndexers() |
||
| 22 | { |
||
| 23 | /** @var \Enterprise_Index_Helper_Data $helper */ |
||
| 24 | $helper = $this->_getHelper('enterprise_index'); |
||
| 25 | |||
| 26 | $indexers = array(); |
||
| 27 | foreach ($helper->getIndexers(true) as $indexer) { |
||
| 28 | $indexers[(string) $indexer->index_table] = $indexer; |
||
| 29 | } |
||
| 30 | |||
| 31 | foreach ($indexers as $indexerKey => $indexerData) { |
||
| 32 | if (!isset($indexerData->action_model->changelog)) { |
||
| 33 | unset($indexers[$indexerKey]); |
||
| 34 | } |
||
| 35 | } |
||
| 36 | |||
| 37 | return $indexers; |
||
| 38 | } |
||
| 39 | |||
| 48 |
This check looks for function calls that miss required arguments.