Skip to content

Commit 8b5762c

Browse files
Fix PHP 8.4 deprecation message
1 parent f029d60 commit 8b5762c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Version
99
public string $version_number;
1010
public ?DateTimeInterface $released = null;
1111

12-
public function __construct(string $version_number = null)
12+
public function __construct(?string $version_number = null)
1313
{
1414
if ($version_number != null) {
1515
$this->version_number = $version_number;

0 commit comments

Comments
 (0)