Skip to content

Commit b4c4b79

Browse files
author
nianiB9
committed
reference to DateTime
1 parent 6cf45c5 commit b4c4b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/Examples/Monitor/GetMonitoringDataService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static function getMonitoringData(MonitorApiClientService $clientService)
2323
try {
2424
// Get monitoring data
2525
$datasetApi = new DataSetApi($apiClient);
26-
$cursorDate = new DateTime();
26+
$cursorDate = new \DateTime();
2727
$cursorDate->modify('-1 year');
2828
$cursor = $cursorDate->format('Y-m-d') . "T00:00:00Z";
2929
$complete = false;

0 commit comments

Comments
 (0)