You return an array here, but if the method continues, nothing is returned.