Skip to content

Commit 31ac4b6

Browse files
committed
Tell Phan to ignore faulty VObject php-doc, should be reverted when we update VObject
Signed-off-by: Georg Ehrke <[email protected]>
1 parent aea8fa9 commit 31ac4b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/dav/lib/BackgroundJob/RefreshWebcalJob.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ protected function run($argument) {
144144
$uid = null;
145145
$compName = null;
146146

147+
/* @phan-suppress-next-line PhanUndeclaredClassMethod */
147148
foreach ($vObject->getComponents() as $component) {
148149
if ($component->name === 'VTIMEZONE') {
149150
continue;
@@ -165,6 +166,7 @@ protected function run($argument) {
165166
}
166167

167168
$uri = $uid . '.ics';
169+
/* @phan-suppress-next-line PhanUndeclaredClassMethod */
168170
$calendarData = $vObject->serialize();
169171
try {
170172
$this->calDavBackend->createCalendarObject($subscription['id'], $uri, $calendarData, CalDavBackend::CALENDAR_TYPE_SUBSCRIPTION);

0 commit comments

Comments
 (0)