summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-kernel/Exception/PreconditionFailedHttpException.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-kernel/Exception/PreconditionFailedHttpException.php')
-rw-r--r--vendor/symfony/http-kernel/Exception/PreconditionFailedHttpException.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/vendor/symfony/http-kernel/Exception/PreconditionFailedHttpException.php b/vendor/symfony/http-kernel/Exception/PreconditionFailedHttpException.php
index 9f13a624cc..108178889c 100644
--- a/vendor/symfony/http-kernel/Exception/PreconditionFailedHttpException.php
+++ b/vendor/symfony/http-kernel/Exception/PreconditionFailedHttpException.php
@@ -20,9 +20,10 @@ class PreconditionFailedHttpException extends HttpException
* @param string $message The internal exception message
* @param \Exception $previous The previous exception
* @param int $code The internal exception code
+ * @param array $headers
*/
- public function __construct($message = null, \Exception $previous = null, $code = 0)
+ public function __construct(string $message = null, \Exception $previous = null, int $code = 0, array $headers = array())
{
- parent::__construct(412, $message, $previous, array(), $code);
+ parent::__construct(412, $message, $previous, $headers, $code);
}
}