diff --git a/src/Mpociot/Teamwork/Traits/UsedByTeams.php b/src/Mpociot/Teamwork/Traits/UsedByTeams.php index 59fb3a1..9a763e5 100644 --- a/src/Mpociot/Teamwork/Traits/UsedByTeams.php +++ b/src/Mpociot/Teamwork/Traits/UsedByTeams.php @@ -41,10 +41,10 @@ protected static function boot() } /** - * @param $query + * @param Builder $query * @return mixed */ - public function scopeAllTeams($query) + public function scopeAllTeams(Builder $query) { return $query->withoutGlobalScope('team'); }