mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-28 02:57:17 +00:00
make parameter explicitly nullable
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user