Skip to content

Commit 7b71575

Browse files
committed
fix
1 parent e127bef commit 7b71575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPStan/Analyser/NodeScopeResolverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public function testFile(string $file): void
276276
$actual = $args[3];
277277

278278
if ($expected !== $actual) {
279-
$failures[] = sprintf("Line %d:\nExpected: %s\nActual: %s\n", $args[4], $expected, $actual);
279+
$failures[] = sprintf("Line %d:\nExpected: %s\nActual: %s\n", $args[4], (string) $expected, $actual);
280280
}
281281
} elseif ($args[0] === 'variableCertainty') {
282282
$file = $args[1];

0 commit comments

Comments
 (0)