diff --git a/apps/dav/lib/CalDAV/Status/StatusService.php b/apps/dav/lib/CalDAV/Status/StatusService.php index 9cff1254c7ff0..41de9ea51c023 100644 --- a/apps/dav/lib/CalDAV/Status/StatusService.php +++ b/apps/dav/lib/CalDAV/Status/StatusService.php @@ -142,7 +142,6 @@ public function processCalendarAvailability(User $user, ?string $availability): continue; } - /** @var Component\VTimeZone|null $ctz */ $ctz = $calendarObject->getSchedulingTimezone(); if ($ctz !== null) { $calendarTimeZone = $ctz->getTimeZone(); diff --git a/apps/dav/tests/unit/CalDAV/Status/StatusServiceTest.php b/apps/dav/tests/unit/CalDAV/Status/StatusServiceTest.php index cd9cfdd00e4e9..f9a03f4de47e0 100644 --- a/apps/dav/tests/unit/CalDAV/Status/StatusServiceTest.php +++ b/apps/dav/tests/unit/CalDAV/Status/StatusServiceTest.php @@ -575,7 +575,7 @@ public function testEmptyAvailabilityAndSearchCalendarsNoResults(): void { ->willReturn([$calendar]); $this->timeFactory->expects(self::once()) ->method('getDateTime') - ->with('+1 hour') + ->with('+5 minutes') ->willReturn($inAnHour); $query->expects(self::once()) ->method('setTimerangeStart') @@ -685,7 +685,7 @@ public function testAvailabilityAndSearchCalendarsNoResults(): void { ->willReturn([$calendar]); $this->timeFactory->expects(self::once()) ->method('getDateTime') - ->with('+1 hour') + ->with('+5 minutes') ->willReturn($inAnHour); $query->expects(self::once()) ->method('setTimerangeStart')