mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[task/code-sniffer] Fix argument list spacing.
PHPBB3-11980
This commit is contained in:
parent
d326a49fd0
commit
02e9f6e284
4 changed files with 4 additions and 4 deletions
|
@ -1117,7 +1117,7 @@ function words_unique(&$words)
|
|||
* Adds a user to the specified group and optionally makes them a group leader
|
||||
* This function does not create the group if it does not exist and so should only be called after the groups have been created
|
||||
*/
|
||||
function add_user_group($group_id, $user_id, $group_leader=false)
|
||||
function add_user_group($group_id, $user_id, $group_leader = false)
|
||||
{
|
||||
global $convert, $phpbb_root_path, $config, $user, $db;
|
||||
|
||||
|
|
|
@ -691,7 +691,7 @@ class module
|
|||
/**
|
||||
* Generate the relevant HTML for an input field and the associated label and explanatory text
|
||||
*/
|
||||
function input_field($name, $type, $value='', $options='')
|
||||
function input_field($name, $type, $value = '', $options = '')
|
||||
{
|
||||
global $lang;
|
||||
$tpl_type = explode(':', $type);
|
||||
|
|
|
@ -31,7 +31,7 @@ class mysqli extends \phpbb\db\driver\mysql_base
|
|||
/**
|
||||
* Connect to server
|
||||
*/
|
||||
function sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false , $new_link = false)
|
||||
function sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false, $new_link = false)
|
||||
{
|
||||
if (!function_exists('mysqli_connect'))
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@ class includephp extends \Twig_Node
|
|||
/** @var Twig_Environment */
|
||||
protected $environment;
|
||||
|
||||
public function __construct(\Twig_Node_Expression $expr, \phpbb\template\twig\environment $environment, $lineno, $ignoreMissing = false, $tag = null)
|
||||
public function __construct(\Twig_Node_Expression $expr, \phpbb\template\twig\environment $environment, $lineno, $ignoreMissing = false, $tag = null)
|
||||
{
|
||||
$this->environment = $environment;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue