Skip to content

Commit 1d17117

Browse files
authored
Fix MonitoringMetric.php wrong variable types
Fix Error "Cannot assign string to property DigitalOceanV2\\Entity\\MonitoringMetric::$status of type array" Fix Cannot assign stdClass to property DigitalOceanV2\\Entity\\MonitoringMetric::$data of type array
1 parent be8658c commit 1d17117

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Entity/MonitoringMetric.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
final class MonitoringMetric extends AbstractEntity
2222
{
23-
public array $data;
23+
public object $data;
2424

25-
public array $status;
25+
public string $status;
2626
}

0 commit comments

Comments
 (0)