fix the constructor of UrlGenerator
This commit is contained in:
parent
e54019d4d9
commit
4491c12684
|
@ -16,7 +16,7 @@ class UrlGenerator
|
||||||
|
|
||||||
public array $options = [];
|
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->service = $service;
|
||||||
$this->method = $method;
|
$this->method = $method;
|
||||||
|
|
Loading…
Reference in a new issue