diff options
Diffstat (limited to 'app/php/dto/TimezoneDTO.php')
-rw-r--r-- | app/php/dto/TimezoneDTO.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/php/dto/TimezoneDTO.php b/app/php/dto/TimezoneDTO.php index 5f89cca..e4078e6 100644 --- a/app/php/dto/TimezoneDTO.php +++ b/app/php/dto/TimezoneDTO.php @@ -10,7 +10,7 @@ class TimezoneDTO { public $Location; public $FirstDayOfTheWeek; - public function __construct($name) { + public function __construct(string $name) { $tz = new DateTimeZone($name); $this->Name = $tz->getName(); $this->Offset = $tz->getOffset(new DateTime()); |