Skip to content

Commit

Permalink
Fix phpcs error.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 3, 2023
1 parent 0e7810f commit 38f8c27
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Service/CalendarService.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,11 @@ function () use ($calendar, $defaults, $options, $source, $time) {
foreach ($results as $event) {
$instances = [$event];
if (!empty($event->getRecurrence())) {
$instances = $calendar->events->instances($source->provider_id, $event->id, $instanceOpts);
$instances = $calendar->events->instances(
$source->provider_id,
$event->id,
$instanceOpts
);
}
foreach ($results as $event) {
$instances = [$event];
Expand Down

0 comments on commit 38f8c27

Please sign in to comment.