mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-20 07:21:30 +02:00
[ticket/16955] Fix phpdoc annotations and return types
PHPBB3-16955
This commit is contained in:
@@ -339,7 +339,7 @@ class module implements \phpbb\db\migration\tool\tool_interface
|
||||
* Use false to ignore the parent check and check class wide.
|
||||
* @param int|string $module The module id|module_langname
|
||||
* specify that here
|
||||
* @return null
|
||||
* @return void
|
||||
* @throws \phpbb\db\migration\exception
|
||||
*/
|
||||
public function remove($class, $parent = 0, $module = '')
|
||||
@@ -350,7 +350,8 @@ class module implements \phpbb\db\migration\tool\tool_interface
|
||||
if (isset($module['module_langname']))
|
||||
{
|
||||
// Manual Method
|
||||
return $this->remove($class, $parent, $module['module_langname']);
|
||||
$this->remove($class, $parent, $module['module_langname']);
|
||||
return;
|
||||
}
|
||||
|
||||
// Failed.
|
||||
@@ -443,6 +444,8 @@ class module implements \phpbb\db\migration\tool\tool_interface
|
||||
{
|
||||
return call_user_func_array(array(&$this, $call), $arguments);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -470,7 +473,7 @@ class module implements \phpbb\db\migration\tool\tool_interface
|
||||
* key - module_id
|
||||
* value - module_langname
|
||||
*
|
||||
* @return null
|
||||
* @return void
|
||||
*/
|
||||
protected function get_categories_list()
|
||||
{
|
||||
|
Reference in New Issue
Block a user