mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-18 21:39:52 +02:00
[ticket/16955] Clean up config classes
PHPBB3-16955
This commit is contained in:
parent
2aed7ff4e3
commit
ba3a1389e6
@ -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)
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user