Skip to content

[9.x] Let Multiple* exceptions hold the number of records and items found#41164

Merged
taylorotwell merged 2 commits into
laravel:9.xfrom
lucasmichot:feat/item-and-records-count
Feb 22, 2022
Merged

[9.x] Let Multiple* exceptions hold the number of records and items found#41164
taylorotwell merged 2 commits into
laravel:9.xfrom
lucasmichot:feat/item-and-records-count

Conversation

@lucasmichot

Copy link
Copy Markdown
Contributor

It can be pretty handy to get access to the numbers of items or records found within MultipleItemsFoundException and MultipleRecordsFoundException exceptions.

This PR ensures that those numbers are always accessible.

Comment thread src/Illuminate/Collections/MultipleItemsFoundException.php
@driesvints driesvints changed the title [9.x] Let Multiple* exceptions hold the number of records and items found. [9.x] Let Multiple* exceptions hold the number of records and items found Feb 22, 2022
@taylorotwell
taylorotwell merged commit 5ba19a2 into laravel:9.x Feb 22, 2022
@lucasmichot
lucasmichot deleted the feat/item-and-records-count branch August 6, 2022 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants