Skip to content

Conversation

@samsonasik
Copy link
Member

Given the following code:

    private array $array = [
        'a' => [
            'b' => [
                ['c' => 'e', 'f' => 1],
                ['d' => 2],
            ],
        ],
    ];

It got diff:

+    /**
+     * @var array<string, array<string, array<mixed, array<string, string|int>>>>
+     */

mixed key should be int.

@samsonasik
Copy link
Member Author

Fixed 🎉 /cc @TomasVotruba

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit c5e7624 into main Sep 30, 2025
50 checks passed
@samsonasik samsonasik deleted the use-int-key branch September 30, 2025 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants