diff options
Diffstat (limited to 'app/frontend/facades/EventFacade.php')
-rw-r--r-- | app/frontend/facades/EventFacade.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/frontend/facades/EventFacade.php b/app/frontend/facades/EventFacade.php index 79ca363..454f522 100644 --- a/app/frontend/facades/EventFacade.php +++ b/app/frontend/facades/EventFacade.php @@ -21,7 +21,7 @@ class EventFacade extends Facade { implode( ',', array_map( - function($calendar) { + function(Calendar $calendar) { return $this->quoteString($calendar->UID); }, $calendars @@ -44,7 +44,7 @@ class EventFacade extends Facade { TimezoneDTO $tz, string $class = 'Application.dto.EventDTO') { return array_map( - function($event) use($calendars, $class, $tz) { + function(Entry $event) use($calendars, $class, $tz) { $dto = Prado::createComponent($class, $tz); $dto->loadRecord($event, $calendars); return $dto; @@ -105,7 +105,7 @@ class EventFacade extends Facade { if ($events) { return Calendar::finder()->findAllByPks( array_map( - function($event) { + function(Entry $event) { return $event->CalendarID; }, $events |