mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 06:51:33 +02:00
[ticket/14895] Fix issues in CLI classes
PHPBB3-14895
This commit is contained in:
@@ -17,7 +17,7 @@ abstract class command extends \phpbb\console\command\command
|
||||
/** @var \phpbb\config\config */
|
||||
protected $config;
|
||||
|
||||
function __construct(\phpbb\user $user, \phpbb\config\config $config)
|
||||
public function __construct(\phpbb\user $user, \phpbb\config\config $config)
|
||||
{
|
||||
$this->config = $config;
|
||||
|
||||
|
@@ -43,7 +43,7 @@ class delete extends command
|
||||
* @param InputInterface $input An InputInterface instance
|
||||
* @param OutputInterface $output An OutputInterface instance
|
||||
*
|
||||
* @return null
|
||||
* @return void
|
||||
* @see \phpbb\config\config::delete()
|
||||
*/
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
|
@@ -50,7 +50,7 @@ class get extends command
|
||||
* @param InputInterface $input An InputInterface instance
|
||||
* @param OutputInterface $output An OutputInterface instance
|
||||
*
|
||||
* @return null
|
||||
* @return void
|
||||
* @see \phpbb\config\config::offsetGet()
|
||||
*/
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
|
@@ -55,7 +55,7 @@ class increment extends command
|
||||
* @param InputInterface $input An InputInterface instance
|
||||
* @param OutputInterface $output An OutputInterface instance
|
||||
*
|
||||
* @return null
|
||||
* @return void
|
||||
* @see \phpbb\config\config::increment()
|
||||
*/
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
|
@@ -55,7 +55,7 @@ class set extends command
|
||||
* @param InputInterface $input An InputInterface instance
|
||||
* @param OutputInterface $output An OutputInterface instance
|
||||
*
|
||||
* @return null
|
||||
* @return void
|
||||
* @see \phpbb\config\config::set()
|
||||
*/
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
|
Reference in New Issue
Block a user