From 7242117ae5c47a73828e7ede240d63e23eb1ff58 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Sat, 25 Mar 2023 19:35:16 -0500 Subject: [PATCH] add notes about `paginate` signature change upgrade notes for https://github.com/laravel/framework/pull/46410 --- upgrade.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/upgrade.md b/upgrade.md index e01d5d38084..113402a806c 100644 --- a/upgrade.md +++ b/upgrade.md @@ -12,6 +12,15 @@ + +## Low Impact Changes + +
+ +- [The `paginate` Method](#paginate) + +
+ ## Upgrading To 11.0 From 10.x @@ -39,3 +48,10 @@ You should update the following dependencies in your application's `composer.jso - `laravel/framework` to `^11.0` + + +#### The `paginate` Method + +**Likelihood Of Impact: Low** + +The `paginate` method of the `Builder` now accepts a nullable `total` parameter. If you are overriding this method, you may need to adjust your definition. See [PR #46410](https://github.com/laravel/framework/pull/46410) for full details.