| Total Complexity | 2 |
| Total Lines | 26 |
| 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 | * @return $this|WhereUserInterface |
||
| 14 | */ |
||
| 15 | public function whereUser(int $user_id) |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Scope query to activity that was performed by any of the specified users. |
||
| 24 | * |
||
| 25 | * @param array $user_ids |
||
| 26 | * @return $this|WhereUserInterface |
||
| 27 | */ |
||
| 28 | public function whereUserIn(array $user_ids) |
||
| 35 |
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.