summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-kernel/Exception/UnprocessableEntityHttpException.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-kernel/Exception/UnprocessableEntityHttpException.php')
-rw-r--r--vendor/symfony/http-kernel/Exception/UnprocessableEntityHttpException.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/symfony/http-kernel/Exception/UnprocessableEntityHttpException.php b/vendor/symfony/http-kernel/Exception/UnprocessableEntityHttpException.php
index 9cad444c6c..7fbc7eff0c 100644
--- a/vendor/symfony/http-kernel/Exception/UnprocessableEntityHttpException.php
+++ b/vendor/symfony/http-kernel/Exception/UnprocessableEntityHttpException.php
@@ -18,11 +18,11 @@ class UnprocessableEntityHttpException extends HttpException
{
/**
* @param string $message The internal exception message
- * @param \Exception $previous The previous exception
+ * @param \Throwable $previous The previous exception
* @param int $code The internal exception code
* @param array $headers
*/
- public function __construct(string $message = null, \Exception $previous = null, int $code = 0, array $headers = [])
+ public function __construct(string $message = null, \Throwable $previous = null, int $code = 0, array $headers = [])
{
parent::__construct(422, $message, $previous, $headers, $code);
}