Skip to content

Commit

Permalink
fixed type error
Browse files Browse the repository at this point in the history
  • Loading branch information
chlulei committed Oct 6, 2023
1 parent ac409a6 commit f60bbf3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ protected function addAppointments(): ilICalWriter
{
$str_builder_appointments = new ilICalWriter();
foreach ($this->getAppointments() as $app) {
$str_writer_appointment = $this->createAppointment($app);
$str_writer_appointment = $this->createAppointment(new ilCalendarEntry($app));
$str_builder_appointments->append($str_writer_appointment);
}
return $str_builder_appointments;
Expand Down

0 comments on commit f60bbf3

Please sign in to comment.