fixed doctrine manager registry interface type hint