mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 15:01:33 +02:00
[ticket/16955] Clean up code in db classes
PHPBB3-16955
This commit is contained in:
@@ -47,7 +47,7 @@ class config implements \phpbb\db\migration\tool\tool_interface
|
||||
* @param mixed $config_value The value of the config setting
|
||||
* @param bool $is_dynamic True if it is dynamic (changes very often)
|
||||
* and should not be stored in the cache, false if not.
|
||||
* @return null
|
||||
* @return void
|
||||
*/
|
||||
public function add($config_name, $config_value, $is_dynamic = false)
|
||||
{
|
||||
@@ -65,7 +65,7 @@ class config implements \phpbb\db\migration\tool\tool_interface
|
||||
* @param string $config_name The name of the config setting you would
|
||||
* like to update
|
||||
* @param mixed $config_value The value of the config setting
|
||||
* @return null
|
||||
* @return void
|
||||
* @throws \phpbb\db\migration\exception
|
||||
*/
|
||||
public function update($config_name, $config_value)
|
||||
@@ -87,7 +87,7 @@ class config implements \phpbb\db\migration\tool\tool_interface
|
||||
* @param string $config_name The name of the config setting you would
|
||||
* like to update
|
||||
* @param mixed $config_value The value of the config setting
|
||||
* @return null
|
||||
* @return void
|
||||
* @throws \phpbb\db\migration\exception
|
||||
*/
|
||||
public function update_if_equals($compare, $config_name, $config_value)
|
||||
@@ -105,7 +105,7 @@ class config implements \phpbb\db\migration\tool\tool_interface
|
||||
*
|
||||
* @param string $config_name The name of the config setting you would
|
||||
* like to remove
|
||||
* @return null
|
||||
* @return void
|
||||
*/
|
||||
public function remove($config_name)
|
||||
{
|
||||
|
Reference in New Issue
Block a user