Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
7 | trait WhereUser |
||
8 | { |
||
9 | /** |
||
10 | * Scope query to activity that was performed by a particular user. |
||
11 | * |
||
12 | * @param int $user_id |
||
13 | * |
||
14 | * @return $this|WhereUserInterface |
||
15 | */ |
||
16 | public function whereUser(int $user_id) |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Scope query to activity that was performed by any of the specified users. |
||
25 | * |
||
26 | * @param array $user_ids |
||
27 | * |
||
28 | * @return $this|WhereUserInterface |
||
29 | */ |
||
30 | public function whereUserIn(array $user_ids) |
||
37 |
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.