mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2025-01-22 21:31:21 +01:00
commit
9a5cdb49c6
@ -11,7 +11,7 @@
|
||||
"illuminate/database": "5.8.* || ^6.0 || ^7.0",
|
||||
"illuminate/http": "5.8.* || ^6.0 || ^7.0",
|
||||
"illuminate/support": "5.8.* || ^6.0 || ^7.0",
|
||||
"vimeo/psalm": "^3.11.6",
|
||||
"vimeo/psalm": "dev-master#317571f1b2b929886c2e34c89a435364ec6df8de as 3.11.7",
|
||||
"orchestra/testbench": "^3.8 || ^4.0 || ^5.0"
|
||||
},
|
||||
"license": "MIT",
|
||||
|
@ -43,9 +43,9 @@ Feature: Eloquent Collection Types
|
||||
/**
|
||||
* @return \Illuminate\Database\Eloquent\Builder<User>
|
||||
*/
|
||||
public function getBuilder(): \Illuminate\Database\Eloquent\Builder
|
||||
public function getBuilder(array $attributes): \Illuminate\Database\Eloquent\Builder
|
||||
{
|
||||
return User::where();
|
||||
return User::where($attributes);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user