From f84f72594bbbed3f4dff11137e5f827d1f15192c Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Thu, 19 Aug 2021 15:05:13 +0200 Subject: [PATCH] Convert non-existant namespace (#38449) --- src/Illuminate/Collections/Collection.php | 6 ++---- src/Illuminate/Collections/ItemNotFoundException.php | 2 +- src/Illuminate/Collections/LazyCollection.php | 4 ++-- src/Illuminate/Collections/MultipleItemsFoundException.php | 2 +- tests/Support/SupportCollectionTest.php | 4 ++-- tests/Support/SupportLazyCollectionIsLazyTest.php | 2 +- 6 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/Illuminate/Collections/Collection.php b/src/Illuminate/Collections/Collection.php index a58bd7518f9f..b6fa288d7a1b 100644 --- a/src/Illuminate/Collections/Collection.php +++ b/src/Illuminate/Collections/Collection.php @@ -4,8 +4,6 @@ use ArrayAccess; use ArrayIterator; -use Illuminate\Collections\ItemNotFoundException; -use Illuminate\Collections\MultipleItemsFoundException; use Illuminate\Support\Traits\EnumeratesValues; use Illuminate\Support\Traits\Macroable; use stdClass; @@ -1110,8 +1108,8 @@ public function splitIn($numberOfGroups) * @param mixed $value * @return mixed * - * @throws \Illuminate\Collections\ItemNotFoundException - * @throws \Illuminate\Collections\MultipleItemsFoundException + * @throws \Illuminate\Support\ItemNotFoundException + * @throws \Illuminate\Support\MultipleItemsFoundException */ public function sole($key = null, $operator = null, $value = null) { diff --git a/src/Illuminate/Collections/ItemNotFoundException.php b/src/Illuminate/Collections/ItemNotFoundException.php index 8f9c17f0eb74..05a51d95475e 100644 --- a/src/Illuminate/Collections/ItemNotFoundException.php +++ b/src/Illuminate/Collections/ItemNotFoundException.php @@ -1,6 +1,6 @@