diff --git a/phpBB/phpbb/config/config.php b/phpBB/phpbb/config/config.php index c40145b457..c1495a15f0 100644 --- a/phpBB/phpbb/config/config.php +++ b/phpBB/phpbb/config/config.php @@ -20,7 +20,7 @@ class config implements \ArrayAccess, \IteratorAggregate, \Countable { /** * The configuration data - * @var array + * @var array */ protected $config; @@ -59,7 +59,7 @@ class config implements \ArrayAccess, \IteratorAggregate, \Countable * Retrieves a configuration value. * * @param string $key The configuration option's name. - * @return string The configuration value + * @return int|string The configuration value */ public function offsetGet($key) { diff --git a/phpBB/phpbb/template/twig/extension/config.php b/phpBB/phpbb/template/twig/extension/config.php index ebb4f0c3ca..e0b8eb440d 100644 --- a/phpBB/phpbb/template/twig/extension/config.php +++ b/phpBB/phpbb/template/twig/extension/config.php @@ -55,7 +55,7 @@ class config extends AbstractExtension /** * Retrieves a configuration value for use in templates. * - * @return string The configuration value + * @return int|string The configuration value */ public function get_config() {