Silence PHP warnings

Stop PHP bleating about the array being too small when 'type' is not specified.