I'm pretty sure compare array can only be called with 2 arrays - type hint should reflect this.