1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 13:51:54 +01:00

Merge pull request #10149 from lens0021/master-1

This commit is contained in:
Bruce Weirdan 2023-08-26 01:42:01 +02:00 committed by GitHub
commit 5332853f4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ $a = [1, 2, 3, 4, 5];
```php
<?php
$a = [0 => 'hello', 5 => 'goodbye'];
$b = ['a' => 'AA', 'b' => 'BB', 'c' => 'CC']
$b = ['a' => 'AA', 'b' => 'BB', 'c' => 'CC'];
```
Makeshift [Structs](https://en.wikipedia.org/wiki/Struct_(C_programming_language)):