Random cleanup
[SonOfLokstallBot.git] / src / goodnight.php
index f3ce616..e34a154 100644 (file)
@@ -15,7 +15,7 @@ array_filter(
     ),
     function($forecast) {
         $forecastDayLocal = DateTimeImmutable::createFromMutable($forecast->time->from)->setTimezone(new DateTimeZone('Australia/Perth'));
-        return (int)(new DateTimeImmutable())->format('d') + 1 == (int)$forecastDayLocal->format('d');
+        return (int)(new DateTimeImmutable)->format('d') + 1 == (int)$forecastDayLocal->format('d');
     }
 )));