diff --git a/README.md b/README.md index ca3d648..02f1f4e 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,11 @@ [![Tests](https://github.com/jeromegamez/typed-collection/actions/workflows/tests.yml/badge.svg)](https://github.com/jeromegamez/typed-collection/actions/workflows/tests.yml) [![Sponsor](https://img.shields.io/static/v1?logo=GitHub&label=Sponsor&message=%E2%9D%A4&color=ff69b4)](https://github.com/sponsors/jeromegamez) +> [!NOTE] +> Laravel 11 added the `ensure()` collection method that verifies that all elements of +> a collection are of a given type or list of types. However, this verification does not +> prevent items of different types to be added at a later time. + ## Installation The package can be installed with [Composer]: