| Total Complexity | 5 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class DateFormatter implements Formatter |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @param string|CarbonInterface|null $date |
||
| 16 | * @param string|null $timezone |
||
| 17 | * @param string|null $date_format |
||
| 18 | */ |
||
| 19 | 11 | public function __construct( |
|
| 34 | } |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Format the date. |
||
| 39 | * |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | 11 | public function format(): string |
|
| 49 |
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.