Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
20 | protected function _initSelect() |
||
21 | { |
||
22 | parent::_initSelect(); |
||
23 | |||
24 | $this->getSelect()->joinLeft( |
||
25 | ['ac_order' => $this->_resource->getTable(SchemaInterface::ORDER_TABLE)], |
||
|
|||
26 | 'ac_order.magento_quote_id = main_table.quote_id', |
||
27 | ['ac_order.activecampaign_id'] |
||
28 | ); |
||
29 | |||
30 | return $this; |
||
31 | } |
||
61 |
This check compares calls to functions or methods with their respective definitions. If the call has more arguments than are defined, it raises an issue.
If a function is defined several times with a different number of parameters, the check may pick up the wrong definition and report false positives. One codebase where this has been known to happen is Wordpress. Please note the @ignore annotation hint above.