| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 34 | protected function findEntityByIdentityValues($entityName, array $identityValues) |
||
| 35 | { |
||
| 36 | if (is_a($entityName, 'OroCRM\Bundle\MagentoBundle\Entity\IntegrationAwareInterface', true)) { |
||
| 37 | $identityValues['channel'] = $this->context->getOption('channel'); |
||
| 38 | } |
||
| 39 | |||
| 40 | return parent::findEntityByIdentityValues($entityName, $identityValues); |
||
| 41 | } |
||
| 42 | |||
| 54 |