summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-kernel/Tests/Exception/TooManyRequestsHttpExceptionTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-kernel/Tests/Exception/TooManyRequestsHttpExceptionTest.php')
-rw-r--r--vendor/symfony/http-kernel/Tests/Exception/TooManyRequestsHttpExceptionTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/symfony/http-kernel/Tests/Exception/TooManyRequestsHttpExceptionTest.php b/vendor/symfony/http-kernel/Tests/Exception/TooManyRequestsHttpExceptionTest.php
index 0048ec85c0..8b59e9894a 100644
--- a/vendor/symfony/http-kernel/Tests/Exception/TooManyRequestsHttpExceptionTest.php
+++ b/vendor/symfony/http-kernel/Tests/Exception/TooManyRequestsHttpExceptionTest.php
@@ -35,8 +35,8 @@ class TooManyRequestsHttpExceptionTest extends HttpExceptionTest
$this->assertSame($headers, $exception->getHeaders());
}
- protected function createException()
+ protected function createException(string $message = null, \Throwable $previous = null, ?int $code = 0, array $headers = [])
{
- return new TooManyRequestsHttpException();
+ return new TooManyRequestsHttpException(null, $message, $previous, $code, $headers);
}
}