Skip to content

Commit

Permalink
Merge pull request #10 from Chris53897/feature/new
Browse files Browse the repository at this point in the history
feat: fix PHP 8.4 deprecation
  • Loading branch information
freekmurze authored Nov 29, 2024
2 parents 21a14dd + 992feda commit 19e885f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CheckResults.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function fromJson(string $json): CheckResults
* @param \DateTimeInterface|null $finishedAt
* @param array<int, CheckResult> $checkResults
*/
public function __construct(DateTimeInterface $finishedAt = null, array $checkResults = [])
public function __construct(DateTimeInterface|null $finishedAt = null, array $checkResults = [])
{
$this->finishedAt = $finishedAt ?? new DateTime();

Expand Down

0 comments on commit 19e885f

Please sign in to comment.