Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
  • Loading branch information
tobiasKaminsky committed Jul 12, 2024
1 parent aa50170 commit 27dd57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/Search/EventsSearchProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function search(

$dtStart = $component->DTSTART;
$startDateTime = $dtStart->getDateTime()->format('U');

Check notice

Code scanning / Psalm

PossiblyNullReference Note

Cannot call method getDateTime on possibly null value

Check notice

Code scanning / Psalm

UndefinedMethod Note

Method Sabre\VObject\Property::getDateTime does not exist
$result->addAttribute("createdAt", $this->l10n->l('date', $startDateTime));
$result->addAttribute("createdAt", $startDateTime);

return $result;
}, $searchResults);
Expand Down

0 comments on commit 27dd57e

Please sign in to comment.