| Total Complexity | 1 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 87.5% |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | class AmountTransformer { |
||
| 23 | /** |
||
| 24 | * Transform Pronamic money to Mollie amount. |
||
| 25 | * |
||
| 26 | * @param Money $money Pronamic money to convert. |
||
| 27 | * @return Amount |
||
| 28 | * @throws \InvalidArgumentException Throws exception on invalid alphabetic currency code in given money object. |
||
| 29 | */ |
||
| 30 | 2 | public static function transform( Money $money ) { |
|
| 45 |
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.