Skip to content

MIR1209

MixedArrayAccess

Array access produced a value of type mixed.

<?php
/** @param mixed $a */ function f($a){ return $a['k']; }

Type the array, e.g. array<string, int>.