summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-kernel/Exception/TooManyRequestsHttpException.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-kernel/Exception/TooManyRequestsHttpException.php')
-rw-r--r--vendor/symfony/http-kernel/Exception/TooManyRequestsHttpException.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/symfony/http-kernel/Exception/TooManyRequestsHttpException.php b/vendor/symfony/http-kernel/Exception/TooManyRequestsHttpException.php
index 60b024c330..91e65e2d70 100644
--- a/vendor/symfony/http-kernel/Exception/TooManyRequestsHttpException.php
+++ b/vendor/symfony/http-kernel/Exception/TooManyRequestsHttpException.php
@@ -25,7 +25,7 @@ class TooManyRequestsHttpException extends HttpException
* @param int $code The internal exception code
* @param array $headers
*/
- public function __construct($retryAfter = null, string $message = null, \Exception $previous = null, ?int $code = 0, array $headers = array())
+ public function __construct($retryAfter = null, string $message = null, \Exception $previous = null, ?int $code = 0, array $headers = [])
{
if ($retryAfter) {
$headers['Retry-After'] = $retryAfter;