Skip to content

Commit

Permalink
Typehint query builder
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot committed May 30, 2016
1 parent ada279b commit 2d55b4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mpociot/Teamwork/Traits/UsedByTeams.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit 2d55b4a

Please sign in to comment.