Skip to content

Commit

Permalink
Closes #4515
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Nov 12, 2020
1 parent 9fa359f commit 7fa0713
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Framework/Assert.php
Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,7 @@ public static function assertNotSame($expected, $actual, string $message = ''):
*
* @psalm-template ExpectedType of object
* @psalm-param class-string<ExpectedType> $expected
* @psalm-assert ExpectedType $actual
* @psalm-assert =ExpectedType $actual
*/
public static function assertInstanceOf(string $expected, $actual, string $message = ''): void
{
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/Assert/Functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1495,7 +1495,7 @@ function assertNotSame($expected, $actual, string $message = ''): void
*
* @psalm-template ExpectedType of object
* @psalm-param class-string<ExpectedType> $expected
* @psalm-assert ExpectedType $actual
* @psalm-assert =ExpectedType $actual
*
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
Expand Down

0 comments on commit 7fa0713

Please sign in to comment.