Skip to content

Commit 4ab0af1

Browse files
committed
Fix typo
1 parent f047eab commit 4ab0af1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/running_psalm/issues/LiteralKeyUnshapedArray.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ function takesGenericArr(array $arr): void {
2121
* @param array{flagA: bool, flagB: bool} $arr
2222
*/
2323
function takesShapedArr(array $arr): void {
24-
// Error: LiteralKeyUnshapedArray
24+
// OK
2525
$flagA = $arr['flagA'];
26-
// Error: LiteralKeyUnshapedArray
26+
// OK
2727
$flagB = $arr['flagB'];
2828
}
2929
```

0 commit comments

Comments
 (0)