),
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');
}
)));