Skip to content

Commit 2b449dc

Browse files
committed
fixup! add more tests for InvalidPartOfEncapsedStringRule
1 parent f8ecee6 commit 2b449dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PHPStan/Rules/Cast/data/invalid-encapsed-part.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function foo(
1717
int $int,
1818
float $float,
1919
array $array,
20-
ClassWithToString $objectWithToString,
20+
ClassWithToString $objectWithToString
2121
) {
2222
$null = null;
2323
$resource = fopen('php://input');
@@ -51,7 +51,7 @@ function checkUnions(
5151
$array,
5252
$objectWithToString,
5353
$null,
54-
$resource,
54+
$resource
5555
) {
5656
"$std bar";
5757
"$bool bar";

0 commit comments

Comments
 (0)