1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-19 14:00:59 +02:00

[ticket/16955] Clean up config classes

PHPBB3-16955
This commit is contained in:
Marc Alexander 2022-12-27 16:16:19 +01:00
parent 2aed7ff4e3
commit ba3a1389e6
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ class config implements \ArrayAccess, \IteratorAggregate, \Countable
{
/**
* The configuration data
* @var array<string,string>
* @var array<string,int|string>
*/
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)
{

View File

@ -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()
{