diff options
Diffstat (limited to 'app/php/facades')
-rw-r--r-- | app/php/facades/EventFacade.php | 4 | ||||
-rw-r--r-- | app/php/facades/Facade.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/php/facades/EventFacade.php b/app/php/facades/EventFacade.php index 6ed739f..e7b3abe 100644 --- a/app/php/facades/EventFacade.php +++ b/app/php/facades/EventFacade.php @@ -22,11 +22,11 @@ class EventFacade extends Facade { } return $this->fetchList( 'getEvents', - array( + [ 'date_from' => $dateFrom ?: '0000-00-00 00:00:00', 'date_to' => $dateTo ?: '9999-99-99', 'calendar_clause' => $calendarClause - ) + ] ); } diff --git a/app/php/facades/Facade.php b/app/php/facades/Facade.php index 5d71a89..742365c 100644 --- a/app/php/facades/Facade.php +++ b/app/php/facades/Facade.php @@ -2,7 +2,7 @@ class Facade { - protected static $_instances = array(); + protected static $_instances = []; protected $_sqlMap; |