aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/ramsey/collection/src/Exception
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/ramsey/collection/src/Exception')
-rw-r--r--vendor/ramsey/collection/src/Exception/CollectionMismatchException.php4
-rw-r--r--vendor/ramsey/collection/src/Exception/InvalidArgumentException.php4
-rw-r--r--vendor/ramsey/collection/src/Exception/InvalidSortOrderException.php (renamed from vendor/ramsey/collection/src/Exception/CollectionException.php)7
-rw-r--r--vendor/ramsey/collection/src/Exception/NoSuchElementException.php4
-rw-r--r--vendor/ramsey/collection/src/Exception/OutOfBoundsException.php4
-rw-r--r--vendor/ramsey/collection/src/Exception/UnsupportedOperationException.php4
-rw-r--r--vendor/ramsey/collection/src/Exception/ValueExtractionException.php (renamed from vendor/ramsey/collection/src/Exception/InvalidPropertyOrMethod.php)8
7 files changed, 11 insertions, 24 deletions
diff --git a/vendor/ramsey/collection/src/Exception/CollectionMismatchException.php b/vendor/ramsey/collection/src/Exception/CollectionMismatchException.php
index 42f5be2df..d4b335f45 100644
--- a/vendor/ramsey/collection/src/Exception/CollectionMismatchException.php
+++ b/vendor/ramsey/collection/src/Exception/CollectionMismatchException.php
@@ -14,11 +14,9 @@ declare(strict_types=1);
namespace Ramsey\Collection\Exception;
-use RuntimeException;
-
/**
* Thrown when attempting to operate on collections of differing types.
*/
-class CollectionMismatchException extends RuntimeException implements CollectionException
+class CollectionMismatchException extends \RuntimeException
{
}
diff --git a/vendor/ramsey/collection/src/Exception/InvalidArgumentException.php b/vendor/ramsey/collection/src/Exception/InvalidArgumentException.php
index 7b41b4a7c..dcc3eac60 100644
--- a/vendor/ramsey/collection/src/Exception/InvalidArgumentException.php
+++ b/vendor/ramsey/collection/src/Exception/InvalidArgumentException.php
@@ -14,11 +14,9 @@ declare(strict_types=1);
namespace Ramsey\Collection\Exception;
-use InvalidArgumentException as PhpInvalidArgumentException;
-
/**
* Thrown to indicate an argument is not of the expected type.
*/
-class InvalidArgumentException extends PhpInvalidArgumentException implements CollectionException
+class InvalidArgumentException extends \InvalidArgumentException
{
}
diff --git a/vendor/ramsey/collection/src/Exception/CollectionException.php b/vendor/ramsey/collection/src/Exception/InvalidSortOrderException.php
index 4aa92bed8..9337ccc66 100644
--- a/vendor/ramsey/collection/src/Exception/CollectionException.php
+++ b/vendor/ramsey/collection/src/Exception/InvalidSortOrderException.php
@@ -14,8 +14,9 @@ declare(strict_types=1);
namespace Ramsey\Collection\Exception;
-use Throwable;
-
-interface CollectionException extends Throwable
+/**
+ * Thrown when attempting to use a sort order that is not recognized.
+ */
+class InvalidSortOrderException extends \RuntimeException
{
}
diff --git a/vendor/ramsey/collection/src/Exception/NoSuchElementException.php b/vendor/ramsey/collection/src/Exception/NoSuchElementException.php
index cd98f0c0f..9debe8f66 100644
--- a/vendor/ramsey/collection/src/Exception/NoSuchElementException.php
+++ b/vendor/ramsey/collection/src/Exception/NoSuchElementException.php
@@ -14,11 +14,9 @@ declare(strict_types=1);
namespace Ramsey\Collection\Exception;
-use RuntimeException;
-
/**
* Thrown when attempting to access an element that does not exist.
*/
-class NoSuchElementException extends RuntimeException implements CollectionException
+class NoSuchElementException extends \RuntimeException
{
}
diff --git a/vendor/ramsey/collection/src/Exception/OutOfBoundsException.php b/vendor/ramsey/collection/src/Exception/OutOfBoundsException.php
index c75294e53..4e9d16fa3 100644
--- a/vendor/ramsey/collection/src/Exception/OutOfBoundsException.php
+++ b/vendor/ramsey/collection/src/Exception/OutOfBoundsException.php
@@ -14,11 +14,9 @@ declare(strict_types=1);
namespace Ramsey\Collection\Exception;
-use OutOfBoundsException as PhpOutOfBoundsException;
-
/**
* Thrown when attempting to access an element out of the range of the collection.
*/
-class OutOfBoundsException extends PhpOutOfBoundsException implements CollectionException
+class OutOfBoundsException extends \OutOfBoundsException
{
}
diff --git a/vendor/ramsey/collection/src/Exception/UnsupportedOperationException.php b/vendor/ramsey/collection/src/Exception/UnsupportedOperationException.php
index d074f45fd..8f45e5836 100644
--- a/vendor/ramsey/collection/src/Exception/UnsupportedOperationException.php
+++ b/vendor/ramsey/collection/src/Exception/UnsupportedOperationException.php
@@ -14,11 +14,9 @@ declare(strict_types=1);
namespace Ramsey\Collection\Exception;
-use RuntimeException;
-
/**
* Thrown to indicate that the requested operation is not supported.
*/
-class UnsupportedOperationException extends RuntimeException implements CollectionException
+class UnsupportedOperationException extends \RuntimeException
{
}
diff --git a/vendor/ramsey/collection/src/Exception/InvalidPropertyOrMethod.php b/vendor/ramsey/collection/src/Exception/ValueExtractionException.php
index a53be14aa..f6c6cb4ec 100644
--- a/vendor/ramsey/collection/src/Exception/InvalidPropertyOrMethod.php
+++ b/vendor/ramsey/collection/src/Exception/ValueExtractionException.php
@@ -14,13 +14,9 @@ declare(strict_types=1);
namespace Ramsey\Collection\Exception;
-use RuntimeException;
-
/**
- * Thrown when attempting to evaluate a property, method, or array key
- * that doesn't exist on an element or cannot otherwise be evaluated in the
- * current context.
+ * Thrown when attempting to extract a value for a method or property that does not exist.
*/
-class InvalidPropertyOrMethod extends RuntimeException implements CollectionException
+class ValueExtractionException extends \RuntimeException
{
}