Fixed Eloquent Builder path in docblock

This commit is contained in:
snipe 2019-08-20 18:10:36 -07:00
parent b6a188a87b
commit 0544164015

View file

@ -95,7 +95,7 @@ class CheckoutAcceptance extends Model
* Filter checkout acceptences by the user * Filter checkout acceptences by the user
* @param Illuminate\Database\Eloquent\Builder $query * @param Illuminate\Database\Eloquent\Builder $query
* @param User $user * @param User $user
* @return Illuminate\Database\Eloquent\Builder * @return \Illuminate\Database\Eloquent\Builder
*/ */
public function scopeForUser(Builder $query, User $user) { public function scopeForUser(Builder $query, User $user) {
return $query->where('assigned_to_id', $user->id); return $query->where('assigned_to_id', $user->id);
@ -104,7 +104,7 @@ class CheckoutAcceptance extends Model
/** /**
* Filter to only get pending acceptances * Filter to only get pending acceptances
* @param Illuminate\Database\Eloquent\Builder $query * @param Illuminate\Database\Eloquent\Builder $query
* @return Illuminate\Database\Eloquent\Builder * @return \Illuminate\Database\Eloquent\Builder
*/ */
public function scopePending(Builder $query) { public function scopePending(Builder $query) {
return $query->whereNull('accepted_at')->whereNull('declined_at'); return $query->whereNull('accepted_at')->whereNull('declined_at');