| 1 | <?php namespace Mpociot\Teamwork\Traits; |
||
| 19 | trait UsedByTeams |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Boot the global scope |
||
| 23 | */ |
||
| 24 | protected static function boot() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param $query |
||
| 45 | * @return mixed |
||
| 46 | */ |
||
| 47 | public function scopeAllTeams($query) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return mixed |
||
| 54 | */ |
||
| 55 | public function team() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @throws Exception |
||
| 62 | */ |
||
| 63 | protected static function teamGuard() |
||
| 69 | } |
||
| 70 |
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.