From 4491c1268468324595d382da24f9ffbb4dcafb0d Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 19 Nov 2022 21:08:28 +0100 Subject: [PATCH] fix the constructor of UrlGenerator --- src/core/Annotation/UrlGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Annotation/UrlGenerator.php b/src/core/Annotation/UrlGenerator.php index 6a651d8..2afa0b4 100644 --- a/src/core/Annotation/UrlGenerator.php +++ b/src/core/Annotation/UrlGenerator.php @@ -16,7 +16,7 @@ class UrlGenerator public array $options = []; - public function __construct(string $service, string $method, array $options) + public function __construct(string $service, string $method, array $options = []) { $this->service = $service; $this->method = $method;