Skip to content

Commit 19e885f

Browse files
authored
Merge pull request #10 from Chris53897/feature/new
feat: fix PHP 8.4 deprecation
2 parents 21a14dd + 992feda commit 19e885f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CheckResults.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static function fromJson(string $json): CheckResults
3131
* @param \DateTimeInterface|null $finishedAt
3232
* @param array<int, CheckResult> $checkResults
3333
*/
34-
public function __construct(DateTimeInterface $finishedAt = null, array $checkResults = [])
34+
public function __construct(DateTimeInterface|null $finishedAt = null, array $checkResults = [])
3535
{
3636
$this->finishedAt = $finishedAt ?? new DateTime();
3737

0 commit comments

Comments
 (0)