Skip to content

Commit 2643ece

Browse files
authored
fix: resolve uptime percentage as float
1 parent 8cb9d9a commit 2643ece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dto/Uptime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Uptime
1010
{
1111
public function __construct(
1212
public string $datetime,
13-
public int $uptimePercentage,
13+
public float $uptimePercentage,
1414
) {}
1515

1616
public static function fromResponse(array $data): self

0 commit comments

Comments
 (0)