mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/12684] Remove unnecessary null arguments
PHPBB3-12684
This commit is contained in:
@@ -134,7 +134,7 @@ class add extends \phpbb\console\command\command
|
||||
|
||||
if (!$data['username'])
|
||||
{
|
||||
$question = new Question($this->ask_user('USERNAME'), null);
|
||||
$question = new Question($this->ask_user('USERNAME'));
|
||||
$data['username'] = $helper->ask($input, $output, $question);
|
||||
}
|
||||
|
||||
@@ -158,7 +158,7 @@ class add extends \phpbb\console\command\command
|
||||
|
||||
if (!$data['email'])
|
||||
{
|
||||
$question = new Question($this->ask_user('EMAIL_ADDRESS'), null);
|
||||
$question = new Question($this->ask_user('EMAIL_ADDRESS'));
|
||||
$data['email'] = $helper->ask($input, $output, $question);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user