Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
11 | 2 | public function getData() |
|
12 | { |
||
13 | 2 | $data = parent::getData(); |
|
14 | 2 | $data['Transacao'] = $this->getInstallments() > 1 ? '08' : '04'; // Note: 04 - à vista; 08 - parcelado estabelecimento; 06 - Parcelado emissor |
|
15 | 2 | $data['Parcelas'] = $this->getFormattedInstallments(); |
|
16 | |||
17 | 2 | return $data; |
|
18 | } |
||
19 | |||
26 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.