summaryrefslogtreecommitdiff
path: root/app/php/facades
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-03-16 22:56:13 +0100
committeremkael <emkael@tlen.pl>2016-03-16 22:56:13 +0100
commit75dc7a1df808ab2ca93ca96e299b06d90ebcedf6 (patch)
tree3c7671d8e47b5b68e534ad13ecb5acb9374d4272 /app/php/facades
parentc5058d68713fc710c68488db726b05453e18d85d (diff)
* refactoring, code formatting
Diffstat (limited to 'app/php/facades')
-rw-r--r--app/php/facades/EventFacade.php4
-rw-r--r--app/php/facades/Facade.php2
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;