Skip to content

Commit 7fa0713

Browse files
Closes #4515
1 parent 9fa359f commit 7fa0713

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Framework/Assert.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1365,7 +1365,7 @@ public static function assertNotSame($expected, $actual, string $message = ''):
13651365
*
13661366
* @psalm-template ExpectedType of object
13671367
* @psalm-param class-string<ExpectedType> $expected
1368-
* @psalm-assert ExpectedType $actual
1368+
* @psalm-assert =ExpectedType $actual
13691369
*/
13701370
public static function assertInstanceOf(string $expected, $actual, string $message = ''): void
13711371
{

src/Framework/Assert/Functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,7 @@ function assertNotSame($expected, $actual, string $message = ''): void
14951495
*
14961496
* @psalm-template ExpectedType of object
14971497
* @psalm-param class-string<ExpectedType> $expected
1498-
* @psalm-assert ExpectedType $actual
1498+
* @psalm-assert =ExpectedType $actual
14991499
*
15001500
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
15011501
*

0 commit comments

Comments
 (0)