fix type hint (WIP)

This commit is contained in:
Jean-Christian Paul Denis 2023-05-12 01:23:49 +02:00
parent 6ddfc37487
commit c34a8478c6
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -110,7 +110,7 @@ class Config extends dcNsProcess
} }
$s = ActivityReport::instance()->settings; $s = ActivityReport::instance()->settings;
$tz = is_string(dcCore::app()->auth?->getInfo('user_tz')) ? dcCore::app()->auth?->getInfo('user_tz') : 'UTC'; $tz = is_string(dcCore::app()->auth?->getInfo('user_tz')) ? dcCore::app()->auth->getInfo('user_tz') : 'UTC';
if (!$s->lastreport) { if (!$s->lastreport) {
$last_report = __('never'); $last_report = __('never');