From be5cc48c6a2d81f242aff64d34ec51befd3a5d3b Mon Sep 17 00:00:00 2001 From: Feek Date: Sun, 21 Jun 2020 14:28:45 -0700 Subject: [PATCH 1/2] chore: bump psalm --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 3d73eab..1af0cc5 100644 --- a/composer.json +++ b/composer.json @@ -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", From 7de82fa1e9359bbb10b4f9b4367fe24b6310e494 Mon Sep 17 00:00:00 2001 From: Feek Date: Sun, 21 Jun 2020 14:36:35 -0700 Subject: [PATCH 2/2] test: fix test --- tests/acceptance/EloquentCollectionTypes.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/EloquentCollectionTypes.feature b/tests/acceptance/EloquentCollectionTypes.feature index 37081b3..3bb1ce3 100644 --- a/tests/acceptance/EloquentCollectionTypes.feature +++ b/tests/acceptance/EloquentCollectionTypes.feature @@ -43,9 +43,9 @@ Feature: Eloquent Collection Types /** * @return \Illuminate\Database\Eloquent\Builder */ - public function getBuilder(): \Illuminate\Database\Eloquent\Builder + public function getBuilder(array $attributes): \Illuminate\Database\Eloquent\Builder { - return User::where(); + return User::where($attributes); } /**