From bef5754e4676a8a578550b6af24d050a946405eb Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 3 Nov 2016 23:22:40 +0100 Subject: * more strict function definitions --- app/frontend/controls/TimezoneSelect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/frontend/controls/TimezoneSelect.php') diff --git a/app/frontend/controls/TimezoneSelect.php b/app/frontend/controls/TimezoneSelect.php index 25af453..5c198a4 100644 --- a/app/frontend/controls/TimezoneSelect.php +++ b/app/frontend/controls/TimezoneSelect.php @@ -44,7 +44,7 @@ class TimezoneSelect extends FacadeTemplateControl { private function _getTimezones() { $timezones = array_map( - function($tz) { + function(string $tz) { return new TimezoneDTO($tz); }, DateTimeZone::listIdentifiers() -- cgit v1.3.1