Skip to content

Commit b5c88b5

Browse files
committed
Allow errors with pure callables
1 parent fca9b22 commit b5c88b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/acceptance/Prophecy.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ Feature: Prophecy
8989
"""
9090
When I run Psalm
9191
Then I see these errors
92-
| Type | Message |
93-
| InvalidScalarArgument | Argument 1 of Prophecy\Argument::that expects callable(mixed...):bool, Closure():string(hello) provided |
92+
| Type | Message |
93+
| InvalidScalarArgument | /Argument 1 of Prophecy\\Argument::that expects callable\(mixed...\):bool, (pure-)?Closure\(\):string\(hello\) provided/ |
9494
And I see no other errors
9595

9696
Scenario: prophesize() provided by ProphecyTrait is generic

0 commit comments

Comments
 (0)