| Total Complexity | 4 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class Amount { |
||
| 21 | /** |
||
| 22 | * Currency. |
||
| 23 | * |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | private $currency; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Value. |
||
| 30 | * |
||
| 31 | * @var int |
||
| 32 | */ |
||
| 33 | private $value; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Construct amount. |
||
| 37 | * |
||
| 38 | * @param string $currency Currency. |
||
| 39 | * @param int $value Value |
||
| 40 | */ |
||
| 41 | public function __construct( $currency, $value ) { |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Get currency. |
||
| 48 | * |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public function get_currency() { |
||
| 52 | return $this->currency; |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Get amount. |
||
| 57 | * |
||
| 58 | * @return int |
||
| 59 | */ |
||
| 60 | public function get_value() { |
||
| 62 | } |
||
| 63 | |||
| 64 | /** |
||
| 65 | * Get JSON. |
||
| 66 | * |
||
| 67 | * @return object |
||
| 68 | */ |
||
| 69 | public function get_json() { |
||
| 73 | ); |
||
| 74 | } |
||
| 76 |
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.