Skip to content

Commit

Permalink
Merge pull request #135 from twistor/builder-covariant
Browse files Browse the repository at this point in the history
Make the Model template on the Builder covariant.
  • Loading branch information
mr-feek authored Mar 22, 2021
2 parents 5196fad + 42449b8 commit eed0e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stubs/EloquentBuilder.stubphp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use Illuminate\Database\Query\Builder as QueryBuilder;
use Illuminate\Support\Traits\ForwardsCalls;

/**
* @template TModel of \Illuminate\Database\Eloquent\Model
* @template-covariant TModel of \Illuminate\Database\Eloquent\Model
* @property-read HigherOrderBuilderProxy $orWhere
*
* @mixin \Illuminate\Database\Query\Builder
Expand Down

0 comments on commit eed0e6f

Please sign in to comment.