From 2d55b4a5cfa273fb5349c9919a964268173fbfdd Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Mon, 30 May 2016 22:32:53 +0200 Subject: [PATCH] Typehint query builder --- src/Mpociot/Teamwork/Traits/UsedByTeams.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'); }