From 288881551f1433f624135b9d41cc7b7ff2b4fb69 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 1 Dec 2022 18:50:35 +0100 Subject: [PATCH] Fix tests --- tests/acceptance/EloquentBuilderTypes.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/acceptance/EloquentBuilderTypes.feature b/tests/acceptance/EloquentBuilderTypes.feature index e9e3ad7..59bc378 100644 --- a/tests/acceptance/EloquentBuilderTypes.feature +++ b/tests/acceptance/EloquentBuilderTypes.feature @@ -264,7 +264,7 @@ Feature: Eloquent Builder types return $builder->whereDate('created_at', '>', 1); } """ - And I have Psalm older than "4.99.0" (because of "changed issue message") + And I have Psalm older than "4.99.0" (because of "changed issue type") When I run Psalm Then I see these errors | Type | Message | @@ -281,11 +281,11 @@ Feature: Eloquent Builder types return $builder->whereDate('created_at', '>', 1); } """ - And I have Psalm newer than "4.99.0" (because of "changed issue message") + And I have Psalm newer than "4.99.0" (because of "changed issue type") When I run Psalm Then I see these errors | Type | Message | - | InvalidScalarArgument | Argument 3 of Illuminate\Database\Eloquent\Builder::whereDate expects DateTimeInterface\|null\|string, but 1 provided | + | InvalidArgument | Argument 3 of Illuminate\Database\Eloquent\Builder::whereDate expects DateTimeInterface\|null\|string, but 1 provided | Scenario: can call count on the builder instance Given I have the following code