Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9562f73

Browse files
staabmondrejmirtes
authored andcommitted
better test name
1 parent 674109b commit 9562f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎tests/PHPStan/Analyser/nsrt/array-combine-php8.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function withUnionConstArraysDifferentArraysCount(): void
113113
assertType("non-empty-array<1|'2'|'3', 'apple'|'avocado'|'banana'|'pear'>", array_combine($a, $b));
114114
}
115115

116-
function withUnionConstArraysAndInvalidKeys(bool $bool): void
116+
function withUnionConstArraysAndDifferentFiniteKeysCount(bool $bool): void
117117
{
118118
if (rand(0, 1)) {
119119
$a = [$bool];

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /