diff options
Diffstat (limited to 'vendor/symfony/http-kernel/Exception/MethodNotAllowedHttpException.php')
| -rw-r--r-- | vendor/symfony/http-kernel/Exception/MethodNotAllowedHttpException.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/symfony/http-kernel/Exception/MethodNotAllowedHttpException.php b/vendor/symfony/http-kernel/Exception/MethodNotAllowedHttpException.php index b0085c16fa..e9a3f069f1 100644 --- a/vendor/symfony/http-kernel/Exception/MethodNotAllowedHttpException.php +++ b/vendor/symfony/http-kernel/Exception/MethodNotAllowedHttpException.php @@ -23,7 +23,7 @@ class MethodNotAllowedHttpException extends HttpException * @param int $code The internal exception code * @param array $headers */ - public function __construct(array $allow, string $message = null, \Exception $previous = null, ?int $code = 0, array $headers = array()) + public function __construct(array $allow, string $message = null, \Exception $previous = null, ?int $code = 0, array $headers = []) { $headers['Allow'] = strtoupper(implode(', ', $allow)); |
