1
0
Fork 0

Fix symfony error handler warnings, fixes #10397 (#10404)

pull/10409/head
Shyim 2021-12-29 13:30:50 +01:00 committed by GitHub
parent a8ed352b31
commit 70425900e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 13 deletions

View File

@ -20,6 +20,7 @@ use Symfony\Component\Console\Application as BaseApplication;
use Symfony\Component\Console\Exception\CommandNotFoundException;
use Symfony\Component\Console\Helper\HelperSet;
use Symfony\Component\Console\Helper\QuestionHelper;
use Symfony\Component\Console\Input\InputDefinition;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
@ -119,7 +120,7 @@ class Application extends BaseApplication
}
/**
* @inheritDoc
* @return int
*/
public function run(InputInterface $input = null, OutputInterface $output = null)
{
@ -131,7 +132,7 @@ class Application extends BaseApplication
}
/**
* @inheritDoc
* @return int
*/
public function doRun(InputInterface $input, OutputInterface $output)
{
@ -492,6 +493,7 @@ class Application extends BaseApplication
/**
* Initializes all the composer commands.
* @return \Symfony\Component\Console\Command\Command[]
*/
protected function getDefaultCommands()
{
@ -534,7 +536,7 @@ class Application extends BaseApplication
}
/**
* @inheritDoc
* @return string
*/
public function getLongVersion()
{
@ -552,7 +554,7 @@ class Application extends BaseApplication
}
/**
* @inheritDoc
* @return InputDefinition
*/
protected function getDefaultInputDefinition()
{

View File

@ -160,7 +160,7 @@ abstract class BaseIO implements IOInterface
}
/**
* @inheritDoc
* @return void
*/
public function emergency($message, array $context = array())
{
@ -168,7 +168,7 @@ abstract class BaseIO implements IOInterface
}
/**
* @inheritDoc
* @return void
*/
public function alert($message, array $context = array())
{
@ -176,7 +176,7 @@ abstract class BaseIO implements IOInterface
}
/**
* @inheritDoc
* @return void
*/
public function critical($message, array $context = array())
{
@ -184,7 +184,7 @@ abstract class BaseIO implements IOInterface
}
/**
* @inheritDoc
* @return void
*/
public function error($message, array $context = array())
{
@ -192,7 +192,7 @@ abstract class BaseIO implements IOInterface
}
/**
* @inheritDoc
* @return void
*/
public function warning($message, array $context = array())
{
@ -200,7 +200,7 @@ abstract class BaseIO implements IOInterface
}
/**
* @inheritDoc
* @return void
*/
public function notice($message, array $context = array())
{
@ -208,7 +208,7 @@ abstract class BaseIO implements IOInterface
}
/**
* @inheritDoc
* @return void
*/
public function info($message, array $context = array())
{
@ -216,7 +216,7 @@ abstract class BaseIO implements IOInterface
}
/**
* @inheritDoc
* @return void
*/
public function debug($message, array $context = array())
{
@ -224,7 +224,7 @@ abstract class BaseIO implements IOInterface
}
/**
* @inheritDoc
* @return void
*/
public function log($level, $message, array $context = array())
{