Total Complexity | 4 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | trait TimeIntervalAware |
||
17 | { |
||
18 | public function getBegin(): ?string |
||
19 | { |
||
20 | return $this->humanizeTime($this->getBeginValue()); |
||
|
|||
21 | } |
||
22 | |||
23 | public function getEnd(): ?string |
||
24 | { |
||
25 | return $this->humanizeTime($this->getEndValue()); |
||
26 | } |
||
27 | |||
28 | private function humanizeTime(?string $time): ?string |
||
37 | } |
||
38 | } |
||
39 |
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.