Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | trait HasTimestamps |
||
12 | { |
||
13 | /** |
||
14 | * Return "created_at" attribute value. |
||
15 | * |
||
16 | * @return \Illuminate\Support\Carbon|null |
||
17 | */ |
||
18 | public function getCreatedAt(): ?Carbon |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Return "updated_at" attribute value. |
||
25 | * |
||
26 | * @return \Illuminate\Support\Carbon|null |
||
27 | */ |
||
28 | public function getUpdatedAt(): ?Carbon |
||
33 |
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.