mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2025-01-22 21:31:21 +01:00
Make the Model template on the Builder covariant.
This commit is contained in:
parent
5196fad27f
commit
42449b8744
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user