Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add early return for empty contentTypes array
Added a check to ensure that if the `contentTypes` array is empty, the method returns an empty array immediately. This prevents unnecessary processing and potential errors when no content types are provided.
- Loading branch information