mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/16955] Clean up config classes
PHPBB3-16955
This commit is contained in:
parent
2aed7ff4e3
commit
ba3a1389e6
2 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue