mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Fixed Eloquent Builder path in docblock
This commit is contained in:
parent
b6a188a87b
commit
0544164015
|
@ -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');
|
||||||
|
|
Loading…
Reference in a new issue