Skip to content

Commit 7fefa4e

Browse files
committed
fix tests
1 parent 6bbca56 commit 7fefa4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5880,7 +5880,7 @@ public function dataFunctions(): array
58805880
'$gettimeofdayBenevolent',
58815881
],
58825882
[
5883-
PHP_VERSION_ID < 80000 ? 'array<int, string>&nonEmpty|false' : 'array<int, string>&nonEmpty',
5883+
PHP_VERSION_ID < 80000 ? '(array<int, string>&nonEmpty)|false' : 'array<int, string>&nonEmpty',
58845884
'$strSplitConstantStringWithoutDefinedParameters',
58855885
],
58865886
[
@@ -5904,15 +5904,15 @@ public function dataFunctions(): array
59045904
'$strSplitConstantStringWithFailureSplitLength',
59055905
],
59065906
[
5907-
PHP_VERSION_ID < 80000 ? 'array<int, string>&nonEmpty|false' : 'array<int, string>&nonEmpty',
5907+
PHP_VERSION_ID < 80000 ? '(array<int, string>&nonEmpty)|false' : 'array<int, string>&nonEmpty',
59085908
'$strSplitConstantStringWithInvalidSplitLengthType',
59095909
],
59105910
[
59115911
'array<int, string>&nonEmpty',
59125912
'$strSplitConstantStringWithVariableStringAndConstantSplitLength',
59135913
],
59145914
[
5915-
PHP_VERSION_ID < 80000 ? 'array<int, string>&nonEmpty|false' : 'array<int, string>&nonEmpty',
5915+
PHP_VERSION_ID < 80000 ? '(array<int, string>&nonEmpty)|false' : 'array<int, string>&nonEmpty',
59165916
'$strSplitConstantStringWithVariableStringAndVariableSplitLength',
59175917
],
59185918
// parse_url

0 commit comments

Comments
 (0)