Allow the notification method to return a null time zone value (like the library does)(#1597)

This commit is contained in:
Alex Tselegidis 2024-11-05 12:46:46 +01:00
parent 855a7e841a
commit d58d9f7434

View file

@ -148,9 +148,9 @@ if (!function_exists('format_timezone')) {
* *
* @param string $value * @param string $value
* *
* @return string * @return string|null
*/ */
function format_timezone(string $value): string function format_timezone(string $value): ?string
{ {
/** @var EA_Controller $CI */ /** @var EA_Controller $CI */
$CI = &get_instance(); $CI = &get_instance();