PHPstan seems to incorrectly narrow type after if (empty(...)).
\PHPStan\dumpType($_GET); // array<mixed>
if (empty($_GET['ssid'])) { /* do nothing */ }
\PHPStan\dumpType($_GET); // non-empty-array&hasOffsetValue('ssid', mixed~(0|0.0|''|'0'|array{}|false|null))
In my opinion the type should remain array<mixed> even after the if test (which may result false). Does this narrowing make sense somehow or is it a bug?
(PHPstan 2.1.10, level 10)