Update BaseArrayHelper.php

middle parameter seemed to be missing - method called recursively should be compatible with the parent method.