Skip to content

Commit

Permalink
Fixed issue with criteria interface
Browse files Browse the repository at this point in the history
  • Loading branch information
sinemacula-ben committed Apr 23, 2024
1 parent ccd8843 commit 4a924cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Contracts/CriteriaInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ interface CriteriaInterface
/**
* Apply the criteria to the given model.
*
* @param \Illuminate\Database\Eloquent\Model $model
* @param \Illuminate\Database\Eloquent\Model|\Illuminate\Contracts\Database\Eloquent\Builder $model
* @return \Illuminate\Contracts\Database\Eloquent\Builder
*/
public function apply(Model $model): Builder;
public function apply(Model|Builder $model): Builder;
}

0 comments on commit 4a924cb

Please sign in to comment.