From daa6d2240c6ea733f91f1a7fee4313181d2de11a Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 2 Jan 2023 22:12:58 +0100 Subject: [PATCH] [ticket/16955] Cache ttl is always integer value PHPBB3-16955 --- phpBB/phpbb/mention/source/base_group.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/phpbb/mention/source/base_group.php b/phpBB/phpbb/mention/source/base_group.php index 58fca4d054..d9b3699f10 100644 --- a/phpBB/phpbb/mention/source/base_group.php +++ b/phpBB/phpbb/mention/source/base_group.php @@ -41,8 +41,8 @@ abstract class base_group implements source_interface /** @var string */ protected $php_ext; - /** @var string|false */ - protected $cache_ttl = false; + /** @var int */ + protected $cache_ttl = 0; /** @var array Fetched groups' data */ protected $groups = null;