diff --git a/src/Service/CalendarService.php b/src/Service/CalendarService.php index aed03785..269da54d 100644 --- a/src/Service/CalendarService.php +++ b/src/Service/CalendarService.php @@ -111,7 +111,9 @@ public function syncSources(CalendarProvider $provider): CalendarProvider } $existing = collection($provider->calendar_sources)->indexBy('provider_id')->toArray(); + /** @var \App\Model\Table\CalendarProvidersTable */ $this->CalendarProviders = $this->fetchTable('CalendarProviders'); + /** @var \App\Model\Table\CalendarSourcesTable */ $this->CalendarSources = $this->fetchTable('CalendarSources'); $this->CalendarProviders->getConnection()->transactional(