diff --git a/tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php b/tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php index f61833a752..1a5d6bb5b3 100644 --- a/tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php +++ b/tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php @@ -7430,7 +7430,7 @@ public function dataReplaceFunctions(): array { return [ [ - 'string', + 'non-empty-string', '$expectedString', ], [ @@ -7438,7 +7438,7 @@ public function dataReplaceFunctions(): array '$expectedString2', ], [ - 'string|null', + 'non-empty-string|null', '$anotherExpectedString', ], [