Skip to content

Commit

Permalink
Fix test for DateTimeImmutable sub method return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Hargreaves committed Oct 13, 2022
1 parent ef0d225 commit 8849e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/MethodCallTest.php
Expand Up @@ -271,7 +271,7 @@ final class MyDate extends DateTimeImmutable {}
$b = (new DateTimeImmutable())->modify("+3 hours");',
'assertions' => [
'$yesterday' => 'MyDate|false',
'$yesterday' => 'MyDate',
'$b' => 'DateTimeImmutable',
],
],
Expand Down

0 comments on commit 8849e8c

Please sign in to comment.