Joachim M. Giæver преди 5 години
родител
ревизия
1d2b2e765e
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/Yr/Forecast.php

+ 2 - 2
src/Yr/Forecast.php

@@ -84,7 +84,7 @@ final class Forecast {
      * @return \DateTimeImmutable
      */
     public function getLastUpdate(): \DateTimeImmutable {
-        return new DateTimeImmutable((string)$this->xml->meta->lastupdate);
+        return new \DateTimeImmutable((string)$this->xml->meta->lastupdate);
     }
 
     /**
@@ -93,7 +93,7 @@ final class Forecast {
      * @return \DateTimeImmutable
      */
     public function getNextUpdate(): \DateTimeImmutable {
-        return new DateTimeImmutable((string)$this->xml->meta->nextupdate);
+        return new \DateTimeImmutable((string)$this->xml->meta->nextupdate);
     }
 
     /**