1 | <?php |
||
9 | class Currency |
||
10 | { |
||
11 | /** |
||
12 | * @var string $code ISO 4217 alpha3 currency code |
||
13 | */ |
||
14 | private $code; |
||
15 | |||
16 | private $fractionDigits; |
||
17 | |||
18 | /** |
||
19 | * @param string $code ISO 4217 alpha3 currency code |
||
20 | */ |
||
21 | 10 | public function __construct( |
|
30 | 1 | ||
31 | public function __toString(): string |
||
35 | 5 | ||
36 | public function getCode(): string |
||
40 | 6 | ||
41 | public function getFractionDigits(): int |
||
45 | } |
||
46 |
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.