diff options
author | emkael <emkael@tlen.pl> | 2016-05-13 13:26:11 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-05-13 13:28:25 +0200 |
commit | b42c172699c8354717d505b535a93f96ede57475 (patch) | |
tree | 9a638b34bad115c2f20fa0a3bb919b8887bea81b /app/php/facades/EventFacade.php | |
parent | 68f962ed70ea9e5aae93cca956b9ec11c5150c3c (diff) |
* type hinting wherever it's possible
Diffstat (limited to 'app/php/facades/EventFacade.php')
-rw-r--r-- | app/php/facades/EventFacade.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/php/facades/EventFacade.php b/app/php/facades/EventFacade.php index 08133bc..6c51716 100644 --- a/app/php/facades/EventFacade.php +++ b/app/php/facades/EventFacade.php @@ -2,13 +2,16 @@ Prado::using('Application.facades.Facade'); Prado::using('Application.dto.EventDTO'); +Prado::using('Application.dto.GridEventDTO'); +Prado::using('Application.dto.CalendarGridDTO'); Prado::using('Application.model.Calendar'); Prado::using('Application.facades.CalendarFacade'); Prado::using('Application.user.DbUser'); class EventFacade extends Facade { - public function getEventList($dateFrom=NULL, $dateTo=NULL, $calendars=NULL, $order='ASC') { + public function getEventList(string $dateFrom=NULL, string $dateTo=NULL, + array $calendars=NULL, string $order='ASC') { $calendarClause = '1=1'; if ($calendars) { $calendarClause = sprintf( |