Merge pull request #86 from psalm/bump-psalm

Bump psalm
This commit is contained in:
feek 2020-06-21 15:10:50 -07:00 committed by GitHub
commit 9a5cdb49c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -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);
}
/**