Skip to content

Commit 20325e2

Browse files
committed
Update duplicate-keys.php
1 parent 536dc88 commit 20325e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PHPStan/Rules/Arrays/data/duplicate-keys.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,13 @@ public function sureDuplicate4(string $key): void
162162
$a = [
163163
'foo' => 'foo',
164164
'bar' => 'bar',
165-
$key => 'foo|bar',
165+
$key => 'foo|bar|baz',
166166
];
167167

168168
$b = [
169169
'foo' => 'foo',
170170
'bar' => 'bar',
171-
$key => 'foo|bar',
171+
$key => 'foo|bar|baz',
172172
'baz' => 'baz',
173173
];
174174
}

0 commit comments

Comments
 (0)