| Conditions | 2 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | * @param \StdClass $data |
||
| 29 | * @return boolean |
||
| 30 | */ |
||
| 31 | protected function hasOtherMotive(StdClass $data) |
||
| 32 | { |
||
| 33 | $others = array_merge( |
||
| 34 | Itau::OCCURRENCES_INSTRUCTION_CANCELED, |
||
| 35 | Itau::OCCURRENCES_PAYER_CLAIMS, |
||
| 36 | Itau::OCCURRENCES_PROTEST_ORDER_HALTED |
||
| 37 | ); |
||
| 38 | |||
| 39 | return in_array($data->occurrenceCode, $others); |
||
| 63 |