| Total Complexity | 4 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class FormatMoneyAction |
||
| 8 | { |
||
| 9 | protected CacheContract $cache; |
||
| 10 | protected string $prefix; |
||
| 11 | protected int $ttl; |
||
| 12 | |||
| 13 | protected float $amount; |
||
| 14 | protected string $currency; |
||
| 15 | |||
| 16 | 2 | public function __construct(CacheContract $cache, string $prefix, ?int $ttl = null) |
|
| 21 | } |
||
| 22 | |||
| 23 | 2 | public function __invoke(\DOMNode $node): void |
|
| 30 | } |
||
| 31 | |||
| 32 | 2 | protected function extractParameters(\DOMNode $node): void |
|
| 47 |
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.