make parameter explicitly nullable

This commit is contained in:
Mark Magyar
2023-05-27 20:21:36 +02:00
parent 9a1aeb8c1f
commit aadc32e85e
+1 -1
View File
@@ -21,7 +21,7 @@ class HttpTimeProvider implements ITimeProvider
public function __construct(
public string $url = 'https://google.com',
public string $expectedtimeformat = 'D, d M Y H:i:s O+',
array $options = null,
array|null $options = null,
) {
$this->url = $url;
$this->expectedtimeformat = $expectedtimeformat;