Skip to content

Commit

Permalink
Convert non-existant namespace (#38449)
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Aug 19, 2021
1 parent 453508e commit f84f725
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
6 changes: 2 additions & 4 deletions src/Illuminate/Collections/Collection.php
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Collections/ItemNotFoundException.php
@@ -1,6 +1,6 @@
<?php

namespace Illuminate\Collections;
namespace Illuminate\Support;

use RuntimeException;

Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Collections/LazyCollection.php
Expand Up @@ -1057,8 +1057,8 @@ public function split($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)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Collections/MultipleItemsFoundException.php
@@ -1,6 +1,6 @@
<?php

namespace Illuminate\Collections;
namespace Illuminate\Support;

use RuntimeException;

Expand Down
4 changes: 2 additions & 2 deletions tests/Support/SupportCollectionTest.php
Expand Up @@ -7,13 +7,13 @@
use ArrayObject;
use CachingIterator;
use Exception;
use Illuminate\Collections\ItemNotFoundException;
use Illuminate\Collections\MultipleItemsFoundException;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Contracts\Support\Jsonable;
use Illuminate\Support\Collection;
use Illuminate\Support\HtmlString;
use Illuminate\Support\ItemNotFoundException;
use Illuminate\Support\LazyCollection;
use Illuminate\Support\MultipleItemsFoundException;
use Illuminate\Support\Str;
use InvalidArgumentException;
use JsonSerializable;
Expand Down
2 changes: 1 addition & 1 deletion tests/Support/SupportLazyCollectionIsLazyTest.php
Expand Up @@ -2,8 +2,8 @@

namespace Illuminate\Tests\Support;

use Illuminate\Collections\MultipleItemsFoundException;
use Illuminate\Support\LazyCollection;
use Illuminate\Support\MultipleItemsFoundException;
use PHPUnit\Framework\TestCase;
use stdClass;

Expand Down

0 comments on commit f84f725

Please sign in to comment.