Skip to content

[11.x] add notes about paginate signature change #8682

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@

</div>

<a name="low-impact-changes"></a>
## Low Impact Changes

<div class="content-list" markdown="1">

- [The `paginate` Method](#paginate)

</div>

<a name="upgrade-11.0"></a>
## Upgrading To 11.0 From 10.x

Expand Down Expand Up @@ -39,3 +48,10 @@ You should update the following dependencies in your application's `composer.jso
- `laravel/framework` to `^11.0`

</div>

<a name="paginate"></a>
#### 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.