Closed Juinness closed 4 months ago
The If condition asks whether $index is an array. Accordingly, the value must be accessed directly in the else branch.
$index
Additionally use a NULL coalescing to avoid an unnecessary isset() check.
isset()
The If condition asks whether
$index
is an array. Accordingly, the value must be accessed directly in the else branch.Additionally use a NULL coalescing to avoid an unnecessary
isset()
check.