summaryrefslogtreecommitdiff
path: root/app/frontend/dto/CalendarGroupDTO.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/frontend/dto/CalendarGroupDTO.php')
-rw-r--r--app/frontend/dto/CalendarGroupDTO.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/frontend/dto/CalendarGroupDTO.php b/app/frontend/dto/CalendarGroupDTO.php
index a607826..cba1623 100644
--- a/app/frontend/dto/CalendarGroupDTO.php
+++ b/app/frontend/dto/CalendarGroupDTO.php
@@ -19,14 +19,14 @@ class CalendarGroupDTO extends BaseDTO {
$this->ID = $categoryRecord->ID;
$this->Priority = $categoryRecord->Priority;
$this->Calendars = array_map(
- function($calendarRecord) {
+ function(Calendar $calendarRecord) {
$dto = new CalendarDTO();
$dto->loadRecord($calendarRecord);
return $dto;
},
array_filter(
$calendars,
- function($calendarRecord) use($categoryRecord) {
+ function(Calendar $calendarRecord) use($categoryRecord) {
return $categoryRecord->ID == $calendarRecord->CategoryID;
}
)