| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | trait DateTrait { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $field |
||
| 22 | * @param null|string|DateTimeInterface $date |
||
| 23 | * @return $this |
||
| 24 | */ |
||
| 25 | private function _setYmd (string $field, $date) { |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param null|string|DateTimeInterface $date |
||
| 34 | * @return $this |
||
| 35 | */ |
||
| 36 | public function setDueOn ($date) { |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param null|string|DateTimeInterface $date |
||
| 42 | * @return $this |
||
| 43 | */ |
||
| 44 | public function setStartOn ($date) { |
||
| 48 | } |
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.