| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 14 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | 4 | public function getData() |
|
| 12 | { |
||
| 13 | 4 | $this->validate('apikey', 'amount', 'transactionReference', 'numautor', 'username', 'password'); |
|
| 14 | |||
| 15 | $data = array( |
||
| 16 | 4 | 'Filiacao' => $this->getApiKey(), |
|
| 17 | 4 | 'Distribuidor' => '', |
|
| 18 | 4 | 'Total' => sprintf("%.2F", round($this->getAmount() * 100) / 100), |
|
| 19 | 4 | 'Parcelas' => $this->getFormattedInstallments(), |
|
| 20 | 4 | 'Data' => $this->getFormattedDate(), |
|
| 21 | 4 | 'NumAutor' => $this->getNumAutor(), |
|
| 22 | 4 | 'NumCv' => $this->getTransactionReference(), |
|
| 23 | 4 | 'Concentrador' => '', |
|
| 24 | 4 | 'Usr' => $this->getUsername(), |
|
| 25 | 4 | 'Pwd' => $this->getPassword() |
|
| 26 | 4 | ); |
|
| 27 | |||
| 28 | 4 | return $data; |
|
| 29 | } |
||
| 30 | |||
| 37 |
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.