From 31ac4b6aeb3538e3a201da318408724f7ae23c67 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Wed, 7 Nov 2018 11:32:59 +0100 Subject: [PATCH] Tell Phan to ignore faulty VObject php-doc, should be reverted when we update VObject Signed-off-by: Georg Ehrke --- apps/dav/lib/BackgroundJob/RefreshWebcalJob.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/dav/lib/BackgroundJob/RefreshWebcalJob.php b/apps/dav/lib/BackgroundJob/RefreshWebcalJob.php index 871734aab5565..da4631217fb77 100644 --- a/apps/dav/lib/BackgroundJob/RefreshWebcalJob.php +++ b/apps/dav/lib/BackgroundJob/RefreshWebcalJob.php @@ -144,6 +144,7 @@ protected function run($argument) { $uid = null; $compName = null; + /* @phan-suppress-next-line PhanUndeclaredClassMethod */ foreach ($vObject->getComponents() as $component) { if ($component->name === 'VTIMEZONE') { continue; @@ -165,6 +166,7 @@ protected function run($argument) { } $uri = $uid . '.ics'; + /* @phan-suppress-next-line PhanUndeclaredClassMethod */ $calendarData = $vObject->serialize(); try { $this->calDavBackend->createCalendarObject($subscription['id'], $uri, $calendarData, CalDavBackend::CALENDAR_TYPE_SUBSCRIPTION);