Actually this ``elseif`` is useless here. I think that simple ``if (is_array($emptyValue)) {`` at new line will be better.