diff options
author | emkael <emkael@tlen.pl> | 2016-11-03 23:22:40 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-11-03 23:22:40 +0100 |
commit | bef5754e4676a8a578550b6af24d050a946405eb (patch) | |
tree | 190a54af236d00c476b28799ba502a42205a95c5 /app/frontend/dto/CalendarGridDTO.php | |
parent | 94e03b260197122ae8f6d7dfedfb2a191fdae273 (diff) |
* more strict function definitions
Diffstat (limited to 'app/frontend/dto/CalendarGridDTO.php')
-rw-r--r-- | app/frontend/dto/CalendarGridDTO.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/frontend/dto/CalendarGridDTO.php b/app/frontend/dto/CalendarGridDTO.php index c6f1d00..c9a5bf3 100644 --- a/app/frontend/dto/CalendarGridDTO.php +++ b/app/frontend/dto/CalendarGridDTO.php @@ -9,7 +9,7 @@ class CalendarGridDTO { public $DateTo; public $Weeks = []; - public function __construct($events, DateTime $dateFrom, DateTime $dateTo) { + public function __construct(array $events, DateTime $dateFrom, DateTime $dateTo) { $this->DateFrom = DateTimeImmutable::createFromMutable($dateFrom); $this->DateTo = DateTimeImmutable::createFromMutable($dateTo); $date = $this->DateFrom; |