mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +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
|
* The configuration data
|
||||||
* @var array<string,string>
|
* @var array<string,int|string>
|
||||||
*/
|
*/
|
||||||
protected $config;
|
protected $config;
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ class config implements \ArrayAccess, \IteratorAggregate, \Countable
|
||||||
* Retrieves a configuration value.
|
* Retrieves a configuration value.
|
||||||
*
|
*
|
||||||
* @param string $key The configuration option's name.
|
* @param string $key The configuration option's name.
|
||||||
* @return string The configuration value
|
* @return int|string The configuration value
|
||||||
*/
|
*/
|
||||||
public function offsetGet($key)
|
public function offsetGet($key)
|
||||||
{
|
{
|
||||||
|
|
|
@ -55,7 +55,7 @@ class config extends AbstractExtension
|
||||||
/**
|
/**
|
||||||
* Retrieves a configuration value for use in templates.
|
* Retrieves a configuration value for use in templates.
|
||||||
*
|
*
|
||||||
* @return string The configuration value
|
* @return int|string The configuration value
|
||||||
*/
|
*/
|
||||||
public function get_config()
|
public function get_config()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue