[FramworkBundle] fix phpdoc of commands

This commit is contained in:
Tobias Schultze 2013-03-07 14:36:36 +01:00
parent fea27c1cb3
commit 5361f83be8
12 changed files with 35 additions and 30 deletions

View File

@ -15,7 +15,6 @@ use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;
use Symfony\Component\Finder\Finder;
/**
@ -26,7 +25,7 @@ use Symfony\Component\Finder\Finder;
class AssetsInstallCommand extends ContainerAwareCommand
{
/**
* @see Command
* {@inheritdoc}
*/
protected function configure()
{
@ -62,9 +61,9 @@ EOT
}
/**
* @see Command
* {@inheritdoc}
*
* @throws \InvalidArgumentException When the target directory does not exist
* @throws \InvalidArgumentException When the target directory does not exist or symlink cannot be used
*/
protected function execute(InputInterface $input, OutputInterface $output)
{

View File

@ -28,7 +28,7 @@ class CacheClearCommand extends ContainerAwareCommand
protected $name;
/**
* @see Command
* {@inheritdoc}
*/
protected function configure()
{

View File

@ -23,7 +23,7 @@ use Symfony\Component\Console\Output\OutputInterface;
class CacheWarmupCommand extends ContainerAwareCommand
{
/**
* @see Command
* {@inheritdoc}
*/
protected function configure()
{

View File

@ -25,7 +25,7 @@ use Symfony\Component\Config\Definition\ConfigurationInterface;
class ConfigDumpReferenceCommand extends ContainerDebugCommand
{
/**
* @see Command
* {@inheritdoc}
*/
protected function configure()
{
@ -53,7 +53,9 @@ EOF
}
/**
* @see Command
* {@inheritdoc}
*
* @throws \LogicException
*/
protected function execute(InputInterface $input, OutputInterface $output)
{

View File

@ -23,7 +23,7 @@ use Symfony\Component\DependencyInjection\ContainerAwareInterface;
abstract class ContainerAwareCommand extends Command implements ContainerAwareInterface
{
/**
* @var ContainerInterface
* @var ContainerInterface|null
*/
private $container;
@ -40,7 +40,7 @@ abstract class ContainerAwareCommand extends Command implements ContainerAwareIn
}
/**
* @see ContainerAwareInterface::setContainer()
* {@inheritdoc}
*/
public function setContainer(ContainerInterface $container = null)
{

View File

@ -29,12 +29,12 @@ use Symfony\Component\Config\FileLocator;
class ContainerDebugCommand extends ContainerAwareCommand
{
/**
* @var ContainerBuilder
* @var ContainerBuilder|null
*/
protected $containerBuilder;
/**
* @see Command
* {@inheritdoc}
*/
protected function configure()
{
@ -74,7 +74,9 @@ EOF
}
/**
* @see Command
* {@inheritdoc}
*
* @throws \LogicException
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
@ -307,7 +309,7 @@ EOF
*
* @param string $serviceId The service id to resolve
*
* @return \Symfony\Component\DependencyInjection\Definition|\Symfony\Component\DependencyInjection\Alias
* @return Definition|Alias
*/
protected function resolveServiceDefinition($serviceId)
{
@ -328,7 +330,7 @@ EOF
* Renders list of tagged services grouped by tag
*
* @param OutputInterface $output
* @param bool $showPrivate
* @param Boolean $showPrivate
*/
protected function outputTags(OutputInterface $output, $showPrivate = false)
{

View File

@ -26,7 +26,7 @@ use Symfony\Component\Routing\RouterInterface;
class RouterApacheDumperCommand extends ContainerAwareCommand
{
/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function isEnabled()
{
@ -42,7 +42,7 @@ class RouterApacheDumperCommand extends ContainerAwareCommand
}
/**
* @see Command
* {@inheritdoc}
*/
protected function configure()
{
@ -65,7 +65,7 @@ EOF
}
/**
* @see Command
* {@inheritdoc}
*/
protected function execute(InputInterface $input, OutputInterface $output)
{

View File

@ -24,7 +24,7 @@ use Symfony\Component\Routing\RouterInterface;
class RouterDebugCommand extends ContainerAwareCommand
{
/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function isEnabled()
{
@ -40,7 +40,7 @@ class RouterDebugCommand extends ContainerAwareCommand
}
/**
* @see Command
* {@inheritdoc}
*/
protected function configure()
{
@ -60,7 +60,9 @@ EOF
}
/**
* @see Command
* {@inheritdoc}
*
* @throws \InvalidArgumentException When route does not exist
*/
protected function execute(InputInterface $input, OutputInterface $output)
{

View File

@ -25,7 +25,7 @@ use Symfony\Component\Routing\Matcher\TraceableUrlMatcher;
class RouterMatchCommand extends ContainerAwareCommand
{
/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function isEnabled()
{
@ -41,7 +41,7 @@ class RouterMatchCommand extends ContainerAwareCommand
}
/**
* @see Command
* {@inheritdoc}
*/
protected function configure()
{
@ -61,7 +61,7 @@ EOF
}
/**
* @see Command
* {@inheritdoc}
*/
protected function execute(InputInterface $input, OutputInterface $output)
{

View File

@ -25,7 +25,7 @@ use Symfony\Component\Process\ProcessBuilder;
class ServerRunCommand extends ContainerAwareCommand
{
/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function isEnabled()
{
@ -37,7 +37,7 @@ class ServerRunCommand extends ContainerAwareCommand
}
/**
* @see Command
* {@inheritdoc}
*/
protected function configure()
{
@ -74,7 +74,7 @@ EOF
}
/**
* @see Command
* {@inheritdoc}
*/
protected function execute(InputInterface $input, OutputInterface $output)
{

View File

@ -33,7 +33,7 @@ class TranslationUpdateCommand extends ContainerAwareCommand
protected $catalogue;
/**
* {@inheritDoc}
* {@inheritdoc}
*/
protected function configure()
{
@ -74,7 +74,7 @@ EOF
}
/**
* {@inheritDoc}
* {@inheritdoc}
*/
protected function execute(InputInterface $input, OutputInterface $output)
{

View File

@ -23,7 +23,7 @@ interface ContainerAwareInterface
/**
* Sets the Container.
*
* @param ContainerInterface $container A ContainerInterface instance
* @param ContainerInterface|null $container A ContainerInterface instance or null
*
* @api
*/