summaryrefslogtreecommitdiff
path: root/app/frontend/controls/EventRepeater.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-11-03 23:22:40 +0100
committeremkael <emkael@tlen.pl>2016-11-03 23:22:40 +0100
commitbef5754e4676a8a578550b6af24d050a946405eb (patch)
tree190a54af236d00c476b28799ba502a42205a95c5 /app/frontend/controls/EventRepeater.php
parent94e03b260197122ae8f6d7dfedfb2a191fdae273 (diff)
* more strict function definitions
Diffstat (limited to 'app/frontend/controls/EventRepeater.php')
-rw-r--r--app/frontend/controls/EventRepeater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/frontend/controls/EventRepeater.php b/app/frontend/controls/EventRepeater.php
index 4fb2812..94fec2c 100644
--- a/app/frontend/controls/EventRepeater.php
+++ b/app/frontend/controls/EventRepeater.php
@@ -4,7 +4,7 @@ Prado::using('Application.web.TemplateControl');
class EventRepeater extends TemplateControl {
- public function setEvents($events) {
+ public function setEvents(array $events) {
$this->Events->DataSource = $events;
$this->Events->dataBind();
}