| 1 | <?php namespace Mpociot\Teamwork\Traits; |
||
| 19 | trait UsedByTeams |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Boot the global scope |
||
| 23 | */ |
||
| 24 | protected static function bootUsedByTeams() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param Builder $query |
||
| 43 | * @return mixed |
||
| 44 | */ |
||
| 45 | public function scopeAllTeams(Builder $query) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return mixed |
||
| 52 | */ |
||
| 53 | public function team() |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @throws Exception |
||
| 60 | */ |
||
| 61 | protected static function teamGuard() |
||
| 67 | } |
||
| 68 |
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.