diff --git a/tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php b/tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php index 9fb4ac824e..92bdde96ae 100644 --- a/tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php +++ b/tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php @@ -5302,15 +5302,15 @@ public function dataFunctions(): array '$versionCompare8', ], [ - 'int', + 'int<0, max>', '$mbStrlenWithoutEncoding', ], [ - 'int', + 'int<0, max>', '$mbStrlenWithValidEncoding', ], [ - 'int', + 'int<0, max>', '$mbStrlenWithValidEncodingAlias', ], [ @@ -5318,11 +5318,11 @@ public function dataFunctions(): array '$mbStrlenWithInvalidEncoding', ], [ - PHP_VERSION_ID < 80000 ? 'int|false' : 'int', + PHP_VERSION_ID < 80000 ? 'int<0, max>|false' : 'int<0, max>', '$mbStrlenWithValidAndInvalidEncoding', ], [ - PHP_VERSION_ID < 80000 ? 'int|false' : 'int', + PHP_VERSION_ID < 80000 ? 'int<0, max>|false' : 'int<0, max>', '$mbStrlenWithUnknownEncoding', ], [