From aadc32e85e4c554c0f0380871c3705c5c2f12ce6 Mon Sep 17 00:00:00 2001 From: Mark Magyar <14284867+xHeaven@users.noreply.github.com> Date: Sat, 27 May 2023 20:21:36 +0200 Subject: [PATCH] make parameter explicitly nullable --- lib/Providers/Time/HttpTimeProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Providers/Time/HttpTimeProvider.php b/lib/Providers/Time/HttpTimeProvider.php index ae72ce0..1d70ecf 100644 --- a/lib/Providers/Time/HttpTimeProvider.php +++ b/lib/Providers/Time/HttpTimeProvider.php @@ -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;