From d58d9f7434d2de6fd50fe2e4aaf2756f9a6d6618 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 5 Nov 2024 12:46:46 +0100 Subject: [PATCH] Allow the notification method to return a null time zone value (like the library does)(#1597) --- application/helpers/date_helper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/helpers/date_helper.php b/application/helpers/date_helper.php index bef0edea..718d98e7 100644 --- a/application/helpers/date_helper.php +++ b/application/helpers/date_helper.php @@ -148,9 +148,9 @@ if (!function_exists('format_timezone')) { * * @param string $value * - * @return string + * @return string|null */ - function format_timezone(string $value): string + function format_timezone(string $value): ?string { /** @var EA_Controller $CI */ $CI = &get_instance();