minor #24663 [DI] minor docblock fixes (nicolas-grekas)

This PR was merged into the 2.7 branch.

Discussion
----------

[DI] minor docblock fixes

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

As found in #24611

Commits
-------

0c9edaf [DI] minor docblock fixes
This commit is contained in:
Nicolas Grekas 2017-10-24 15:38:54 +02:00
commit 962687e64f
438 changed files with 41 additions and 2685 deletions

View File

@ -26,9 +26,6 @@ class ProxyCacheWarmer implements CacheWarmerInterface
{ {
private $registry; private $registry;
/**
* @param ManagerRegistry $registry A ManagerRegistry instance
*/
public function __construct(ManagerRegistry $registry) public function __construct(ManagerRegistry $registry)
{ {
$this->registry = $registry; $this->registry = $registry;

View File

@ -26,8 +26,6 @@ class ContainerAwareEventManager extends EventManager
* Map of registered listeners. * Map of registered listeners.
* *
* <event> => <listeners> * <event> => <listeners>
*
* @var array
*/ */
private $listeners = array(); private $listeners = array();
private $initialized = array(); private $initialized = array();

View File

@ -25,14 +25,8 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
*/ */
class ContainerAwareLoader extends Loader class ContainerAwareLoader extends Loader
{ {
/**
* @var ContainerInterface
*/
private $container; private $container;
/**
* @param ContainerInterface $container A ContainerInterface instance
*/
public function __construct(ContainerInterface $container) public function __construct(ContainerInterface $container)
{ {
$this->container = $container; $this->container = $container;

View File

@ -27,15 +27,11 @@ abstract class AbstractDoctrineExtension extends Extension
{ {
/** /**
* Used inside metadata driver method to simplify aggregation of data. * Used inside metadata driver method to simplify aggregation of data.
*
* @var array
*/ */
protected $aliasMap = array(); protected $aliasMap = array();
/** /**
* Used inside metadata driver method to simplify aggregation of data. * Used inside metadata driver method to simplify aggregation of data.
*
* @var array
*/ */
protected $drivers = array(); protected $drivers = array();
@ -142,10 +138,6 @@ abstract class AbstractDoctrineExtension extends Extension
* *
* Returns false when autodetection failed, an array of the completed information otherwise. * Returns false when autodetection failed, an array of the completed information otherwise.
* *
* @param array $bundleConfig
* @param \ReflectionClass $bundle
* @param ContainerBuilder $container A ContainerBuilder instance
*
* @return array|false * @return array|false
*/ */
protected function getMappingDriverBundleConfigDefaults(array $bundleConfig, \ReflectionClass $bundle, ContainerBuilder $container) protected function getMappingDriverBundleConfigDefaults(array $bundleConfig, \ReflectionClass $bundle, ContainerBuilder $container)
@ -402,9 +394,6 @@ abstract class AbstractDoctrineExtension extends Extension
* *
* The manager called $autoMappedManager will map all bundles that are not mapped by other managers. * The manager called $autoMappedManager will map all bundles that are not mapped by other managers.
* *
* @param array $managerConfigs
* @param array $bundles
*
* @return array The modified version of $managerConfigs * @return array The modified version of $managerConfigs
*/ */
protected function fixManagersAutoMappings(array $managerConfigs, array $bundles) protected function fixManagersAutoMappings(array $managerConfigs, array $bundles)
@ -464,8 +453,6 @@ abstract class AbstractDoctrineExtension extends Extension
/** /**
* Search for a manager that is declared as 'auto_mapping' = true. * Search for a manager that is declared as 'auto_mapping' = true.
* *
* @param array $managerConfigs
*
* @return null|string The name of the manager. If no one manager is found, returns null * @return null|string The name of the manager. If no one manager is found, returns null
* *
* @throws \LogicException * @throws \LogicException

View File

@ -134,8 +134,6 @@ abstract class RegisterMappingsPass implements CompilerPassInterface
/** /**
* Register mappings and alias with the metadata drivers. * Register mappings and alias with the metadata drivers.
*
* @param ContainerBuilder $container
*/ */
public function process(ContainerBuilder $container) public function process(ContainerBuilder $container)
{ {
@ -167,8 +165,6 @@ abstract class RegisterMappingsPass implements CompilerPassInterface
* Get the service name of the metadata chain driver that the mappings * Get the service name of the metadata chain driver that the mappings
* should be registered with. * should be registered with.
* *
* @param ContainerBuilder $container
*
* @return string The name of the chain driver service * @return string The name of the chain driver service
* *
* @throws ParameterNotFoundException if non of the managerParameters has a * @throws ParameterNotFoundException if non of the managerParameters has a
@ -195,8 +191,6 @@ abstract class RegisterMappingsPass implements CompilerPassInterface
/** /**
* Get the service name from the pattern and the configured manager name. * Get the service name from the pattern and the configured manager name.
* *
* @param ContainerBuilder $container
*
* @return string a service definition name * @return string a service definition name
* *
* @throws ParameterNotFoundException if none of the managerParameters has a * @throws ParameterNotFoundException if none of the managerParameters has a
@ -213,8 +207,6 @@ abstract class RegisterMappingsPass implements CompilerPassInterface
* The default implementation loops over the managerParameters and returns * The default implementation loops over the managerParameters and returns
* the first non-empty parameter. * the first non-empty parameter.
* *
* @param ContainerBuilder $container
*
* @return string The name of the active manager * @return string The name of the active manager
* *
* @throws ParameterNotFoundException if none of the managerParameters is found in the container * @throws ParameterNotFoundException if none of the managerParameters is found in the container
@ -240,8 +232,6 @@ abstract class RegisterMappingsPass implements CompilerPassInterface
* This default implementation checks if the class has the enabledParameter * This default implementation checks if the class has the enabledParameter
* configured and if so if that parameter is present in the container. * configured and if so if that parameter is present in the container.
* *
* @param ContainerBuilder $container
*
* @return bool whether this compiler pass really should register the mappings * @return bool whether this compiler pass really should register the mappings
*/ */
protected function enabled(ContainerBuilder $container) protected function enabled(ContainerBuilder $container)

View File

@ -214,8 +214,6 @@ class EntityChoiceList extends ObjectChoiceList
/** /**
* Returns the entities corresponding to the given values. * Returns the entities corresponding to the given values.
* *
* @param array $values
*
* @return array * @return array
* *
* @see ChoiceListInterface * @see ChoiceListInterface
@ -267,8 +265,6 @@ class EntityChoiceList extends ObjectChoiceList
/** /**
* Returns the values corresponding to the given entities. * Returns the values corresponding to the given entities.
* *
* @param array $entities
*
* @return array * @return array
* *
* @see ChoiceListInterface * @see ChoiceListInterface

View File

@ -24,8 +24,6 @@ class CollectionToArrayTransformer implements DataTransformerInterface
/** /**
* Transforms a collection into an array. * Transforms a collection into an array.
* *
* @param Collection $collection A collection of entities
*
* @return mixed An array of entities * @return mixed An array of entities
* *
* @throws TransformationFailedException * @throws TransformationFailedException

View File

@ -84,8 +84,6 @@ class EntityType extends DoctrineType
/** /**
* Converts a query parameter to an array. * Converts a query parameter to an array.
* *
* @param Parameter $parameter The query parameter
*
* @return array The array representation of the parameter * @return array The array representation of the parameter
*/ */
private function parameterToArray(Parameter $parameter) private function parameterToArray(Parameter $parameter)

View File

@ -26,10 +26,6 @@ class DbalLogger implements SQLLogger
protected $logger; protected $logger;
protected $stopwatch; protected $stopwatch;
/**
* @param LoggerInterface $logger A LoggerInterface instance
* @param Stopwatch $stopwatch A Stopwatch instance
*/
public function __construct(LoggerInterface $logger = null, Stopwatch $stopwatch = null) public function __construct(LoggerInterface $logger = null, Stopwatch $stopwatch = null)
{ {
$this->logger = $logger; $this->logger = $logger;

View File

@ -45,11 +45,6 @@ class DoctrineTokenProvider implements TokenProviderInterface
*/ */
private $conn; private $conn;
/**
* new DoctrineTokenProvider for the RememberMe authentication service.
*
* @param Connection $conn
*/
public function __construct(Connection $conn) public function __construct(Connection $conn)
{ {
$this->conn = $conn; $this->conn = $conn;

View File

@ -267,8 +267,6 @@ class DoctrineExtensionTest extends TestCase
} }
/** /**
* @param array $data
*
* @return \Symfony\Component\DependencyInjection\ContainerBuilder * @return \Symfony\Component\DependencyInjection\ContainerBuilder
*/ */
protected function createContainer(array $data = array()) protected function createContainer(array $data = array())

View File

@ -22,9 +22,6 @@ use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
*/ */
class ChromePhpHandler extends BaseChromePhpHandler class ChromePhpHandler extends BaseChromePhpHandler
{ {
/**
* @var array
*/
private $headers = array(); private $headers = array();
/** /**

View File

@ -40,14 +40,7 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
*/ */
class ConsoleHandler extends AbstractProcessingHandler implements EventSubscriberInterface class ConsoleHandler extends AbstractProcessingHandler implements EventSubscriberInterface
{ {
/**
* @var OutputInterface|null
*/
private $output; private $output;
/**
* @var array
*/
private $verbosityLevelMap = array( private $verbosityLevelMap = array(
OutputInterface::VERBOSITY_NORMAL => Logger::WARNING, OutputInterface::VERBOSITY_NORMAL => Logger::WARNING,
OutputInterface::VERBOSITY_VERBOSE => Logger::NOTICE, OutputInterface::VERBOSITY_VERBOSE => Logger::NOTICE,
@ -92,8 +85,6 @@ class ConsoleHandler extends AbstractProcessingHandler implements EventSubscribe
/** /**
* Sets the console output to use for printing logs. * Sets the console output to use for printing logs.
*
* @param OutputInterface $output The console output to use
*/ */
public function setOutput(OutputInterface $output) public function setOutput(OutputInterface $output)
{ {
@ -113,8 +104,6 @@ class ConsoleHandler extends AbstractProcessingHandler implements EventSubscribe
/** /**
* Before a command is executed, the handler gets activated and the console output * Before a command is executed, the handler gets activated and the console output
* is set in order to know where to write the logs. * is set in order to know where to write the logs.
*
* @param ConsoleCommandEvent $event
*/ */
public function onCommand(ConsoleCommandEvent $event) public function onCommand(ConsoleCommandEvent $event)
{ {
@ -128,8 +117,6 @@ class ConsoleHandler extends AbstractProcessingHandler implements EventSubscribe
/** /**
* After a command has been executed, it disables the output. * After a command has been executed, it disables the output.
*
* @param ConsoleTerminateEvent $event
*/ */
public function onTerminate(ConsoleTerminateEvent $event) public function onTerminate(ConsoleTerminateEvent $event)
{ {

View File

@ -22,9 +22,6 @@ use Symfony\Component\HttpFoundation\Response;
*/ */
class FirePHPHandler extends BaseFirePHPHandler class FirePHPHandler extends BaseFirePHPHandler
{ {
/**
* @var array
*/
private $headers = array(); private $headers = array();
/** /**

View File

@ -26,9 +26,6 @@ class SwiftMailerHandler extends BaseSwiftMailerHandler
protected $instantFlush = false; protected $instantFlush = false;
/**
* @param \Swift_Transport $transport
*/
public function setTransport(\Swift_Transport $transport) public function setTransport(\Swift_Transport $transport)
{ {
$this->transport = $transport; $this->transport = $transport;
@ -36,8 +33,6 @@ class SwiftMailerHandler extends BaseSwiftMailerHandler
/** /**
* After the kernel has been terminated we will always flush messages. * After the kernel has been terminated we will always flush messages.
*
* @param PostResponseEvent $event
*/ */
public function onKernelTerminate(PostResponseEvent $event) public function onKernelTerminate(PostResponseEvent $event)
{ {
@ -46,8 +41,6 @@ class SwiftMailerHandler extends BaseSwiftMailerHandler
/** /**
* After the CLI application has been terminated we will always flush messages. * After the CLI application has been terminated we will always flush messages.
*
* @param ConsoleTerminateEvent $event
*/ */
public function onCliTerminate(ConsoleTerminateEvent $event) public function onCliTerminate(ConsoleTerminateEvent $event)
{ {

View File

@ -110,8 +110,6 @@ EOF;
/** /**
* Produces the proxy class name for the given definition. * Produces the proxy class name for the given definition.
* *
* @param Definition $definition
*
* @return string * @return string
*/ */
private function getProxyClassName(Definition $definition) private function getProxyClassName(Definition $definition)
@ -120,8 +118,6 @@ EOF;
} }
/** /**
* @param Definition $definition
*
* @return ClassGenerator * @return ClassGenerator
*/ */
private function generateProxyClass(Definition $definition) private function generateProxyClass(Definition $definition)

View File

@ -25,9 +25,6 @@ class HttpKernelExtension extends AbstractExtension
{ {
private $handler; private $handler;
/**
* @param FragmentHandler $handler A FragmentHandler instance
*/
public function __construct(FragmentHandler $handler) public function __construct(FragmentHandler $handler)
{ {
$this->handler = $handler; $this->handler = $handler;

View File

@ -16,24 +16,10 @@ namespace Symfony\Bridge\Twig\NodeVisitor;
*/ */
class Scope class Scope
{ {
/**
* @var Scope|null
*/
private $parent; private $parent;
/**
* @var array
*/
private $data = array(); private $data = array();
/**
* @var bool
*/
private $left = false; private $left = false;
/**
* @param Scope $parent
*/
public function __construct(Scope $parent = null) public function __construct(Scope $parent = null)
{ {
$this->parent = $parent; $this->parent = $parent;

View File

@ -123,8 +123,6 @@ class TranslationNodeVisitor extends AbstractNodeVisitor
} }
/** /**
* @param Node $node
*
* @return string|null * @return string|null
*/ */
private function getReadDomainFromNode(Node $node) private function getReadDomainFromNode(Node $node)

View File

@ -27,8 +27,6 @@ class FormThemeTokenParser extends AbstractTokenParser
/** /**
* Parses a token and returns a node. * Parses a token and returns a node.
* *
* @param Token $token
*
* @return Node * @return Node
*/ */
public function parse(Token $token) public function parse(Token $token)

View File

@ -29,8 +29,6 @@ class TransChoiceTokenParser extends TransTokenParser
/** /**
* Parses a token and returns a node. * Parses a token and returns a node.
* *
* @param Token $token
*
* @return Node * @return Node
* *
* @throws SyntaxError * @throws SyntaxError

View File

@ -26,8 +26,6 @@ class TransDefaultDomainTokenParser extends AbstractTokenParser
/** /**
* Parses a token and returns a node. * Parses a token and returns a node.
* *
* @param Token $token
*
* @return Node * @return Node
*/ */
public function parse(Token $token) public function parse(Token $token)

View File

@ -30,8 +30,6 @@ class TransTokenParser extends AbstractTokenParser
/** /**
* Parses a token and returns a node. * Parses a token and returns a node.
* *
* @param Token $token
*
* @return Node * @return Node
* *
* @throws SyntaxError * @throws SyntaxError

View File

@ -24,9 +24,6 @@ class RouterCacheWarmer implements CacheWarmerInterface
{ {
protected $router; protected $router;
/**
* @param RouterInterface $router A Router instance
*/
public function __construct(RouterInterface $router) public function __construct(RouterInterface $router)
{ {
$this->router = $router; $this->router = $router;

View File

@ -24,10 +24,6 @@ class TemplatePathsCacheWarmer extends CacheWarmer
protected $finder; protected $finder;
protected $locator; protected $locator;
/**
* @param TemplateFinderInterface $finder A template finder
* @param TemplateLocator $locator The template locator
*/
public function __construct(TemplateFinderInterface $finder, TemplateLocator $locator) public function __construct(TemplateFinderInterface $finder, TemplateLocator $locator)
{ {
$this->finder = $finder; $this->finder = $finder;

View File

@ -130,8 +130,6 @@ EOF
/** /**
* Validates input arguments and options. * Validates input arguments and options.
* *
* @param InputInterface $input
*
* @throws \InvalidArgumentException * @throws \InvalidArgumentException
*/ */
protected function validateInput(InputInterface $input) protected function validateInput(InputInterface $input)

View File

@ -29,9 +29,6 @@ class Application extends BaseApplication
private $kernel; private $kernel;
private $commandsRegistered = false; private $commandsRegistered = false;
/**
* @param KernelInterface $kernel A KernelInterface instance
*/
public function __construct(KernelInterface $kernel) public function __construct(KernelInterface $kernel)
{ {
$this->kernel = $kernel; $this->kernel = $kernel;
@ -57,9 +54,6 @@ class Application extends BaseApplication
/** /**
* Runs the current application. * Runs the current application.
* *
* @param InputInterface $input An Input instance
* @param OutputInterface $output An Output instance
*
* @return int 0 if everything went fine, or an error code * @return int 0 if everything went fine, or an error code
*/ */
public function doRun(InputInterface $input, OutputInterface $output) public function doRun(InputInterface $input, OutputInterface $output)

View File

@ -120,33 +120,21 @@ abstract class Descriptor implements DescriptorInterface
/** /**
* Describes an InputArgument instance. * Describes an InputArgument instance.
*
* @param RouteCollection $routes
* @param array $options
*/ */
abstract protected function describeRouteCollection(RouteCollection $routes, array $options = array()); abstract protected function describeRouteCollection(RouteCollection $routes, array $options = array());
/** /**
* Describes an InputOption instance. * Describes an InputOption instance.
*
* @param Route $route
* @param array $options
*/ */
abstract protected function describeRoute(Route $route, array $options = array()); abstract protected function describeRoute(Route $route, array $options = array());
/** /**
* Describes container parameters. * Describes container parameters.
*
* @param ParameterBag $parameters
* @param array $options
*/ */
abstract protected function describeContainerParameters(ParameterBag $parameters, array $options = array()); abstract protected function describeContainerParameters(ParameterBag $parameters, array $options = array());
/** /**
* Describes container tags. * Describes container tags.
*
* @param ContainerBuilder $builder
* @param array $options
*/ */
abstract protected function describeContainerTags(ContainerBuilder $builder, array $options = array()); abstract protected function describeContainerTags(ContainerBuilder $builder, array $options = array());
@ -166,33 +154,21 @@ abstract class Descriptor implements DescriptorInterface
* *
* Common options are: * Common options are:
* * tag: filters described services by given tag * * tag: filters described services by given tag
*
* @param ContainerBuilder $builder
* @param array $options
*/ */
abstract protected function describeContainerServices(ContainerBuilder $builder, array $options = array()); abstract protected function describeContainerServices(ContainerBuilder $builder, array $options = array());
/** /**
* Describes a service definition. * Describes a service definition.
*
* @param Definition $definition
* @param array $options
*/ */
abstract protected function describeContainerDefinition(Definition $definition, array $options = array()); abstract protected function describeContainerDefinition(Definition $definition, array $options = array());
/** /**
* Describes a service alias. * Describes a service alias.
*
* @param Alias $alias
* @param array $options
*/ */
abstract protected function describeContainerAlias(Alias $alias, array $options = array()); abstract protected function describeContainerAlias(Alias $alias, array $options = array());
/** /**
* Describes a container parameter. * Describes a container parameter.
*
* @param string $parameter
* @param array $options
*/ */
abstract protected function describeContainerParameter($parameter, array $options = array()); abstract protected function describeContainerParameter($parameter, array $options = array());
@ -201,9 +177,6 @@ abstract class Descriptor implements DescriptorInterface
* *
* Common options are: * Common options are:
* * name: name of listened event * * name: name of listened event
*
* @param EventDispatcherInterface $eventDispatcher
* @param array $options
*/ */
abstract protected function describeEventDispatcherListeners(EventDispatcherInterface $eventDispatcher, array $options = array()); abstract protected function describeEventDispatcherListeners(EventDispatcherInterface $eventDispatcher, array $options = array());

View File

@ -163,9 +163,6 @@ class JsonDescriptor extends Descriptor
/** /**
* Writes data as json. * Writes data as json.
* *
* @param array $data
* @param array $options
*
* @return array|string * @return array|string
*/ */
private function writeData(array $data, array $options) private function writeData(array $data, array $options)
@ -180,8 +177,6 @@ class JsonDescriptor extends Descriptor
} }
/** /**
* @param Route $route
*
* @return array * @return array
*/ */
protected function getRouteData(Route $route) protected function getRouteData(Route $route)
@ -268,8 +263,6 @@ class JsonDescriptor extends Descriptor
} }
/** /**
* @param Alias $alias
*
* @return array * @return array
*/ */
private function getContainerAliasData(Alias $alias) private function getContainerAliasData(Alias $alias)

View File

@ -351,8 +351,6 @@ class MarkdownDescriptor extends Descriptor
} }
/** /**
* @param array $array
*
* @return string * @return string
*/ */
private function formatRouterConfig(array $array) private function formatRouterConfig(array $array)

View File

@ -375,8 +375,6 @@ class TextDescriptor extends Descriptor
} }
/** /**
* @param array $array
*
* @return string * @return string
*/ */
private function formatRouterConfig(array $array) private function formatRouterConfig(array $array)

View File

@ -122,8 +122,6 @@ class XmlDescriptor extends Descriptor
/** /**
* Writes DOM document. * Writes DOM document.
* *
* @param \DOMDocument $dom
*
* @return \DOMDocument|string * @return \DOMDocument|string
*/ */
private function writeDocument(\DOMDocument $dom) private function writeDocument(\DOMDocument $dom)
@ -133,8 +131,6 @@ class XmlDescriptor extends Descriptor
} }
/** /**
* @param RouteCollection $routes
*
* @return \DOMDocument * @return \DOMDocument
*/ */
private function getRouteCollectionDocument(RouteCollection $routes) private function getRouteCollectionDocument(RouteCollection $routes)
@ -220,8 +216,6 @@ class XmlDescriptor extends Descriptor
} }
/** /**
* @param ParameterBag $parameters
*
* @return \DOMDocument * @return \DOMDocument
*/ */
private function getContainerParametersDocument(ParameterBag $parameters) private function getContainerParametersDocument(ParameterBag $parameters)
@ -416,9 +410,6 @@ class XmlDescriptor extends Descriptor
} }
/** /**
* @param string $parameter
* @param array $options
*
* @return \DOMDocument * @return \DOMDocument
*/ */
private function getContainerParameterDocument($parameter, $options = array()) private function getContainerParameterDocument($parameter, $options = array())

View File

@ -24,9 +24,6 @@ class ControllerNameParser
{ {
protected $kernel; protected $kernel;
/**
* @param KernelInterface $kernel A KernelInterface instance
*/
public function __construct(KernelInterface $kernel) public function __construct(KernelInterface $kernel)
{ {
$this->kernel = $kernel; $this->kernel = $kernel;

View File

@ -24,11 +24,6 @@ class ControllerResolver extends BaseControllerResolver
protected $container; protected $container;
protected $parser; protected $parser;
/**
* @param ContainerInterface $container A ContainerInterface instance
* @param ControllerNameParser $parser A ControllerNameParser instance
* @param LoggerInterface $logger A LoggerInterface instance
*/
public function __construct(ContainerInterface $container, ControllerNameParser $parser, LoggerInterface $logger = null) public function __construct(ContainerInterface $container, ControllerNameParser $parser, LoggerInterface $logger = null)
{ {
$this->container = $container; $this->container = $container;

View File

@ -45,9 +45,6 @@ class FrameworkExtension extends Extension
/** /**
* Responds to the app.config configuration parameter. * Responds to the app.config configuration parameter.
* *
* @param array $configs
* @param ContainerBuilder $container
*
* @throws LogicException * @throws LogicException
*/ */
public function load(array $configs, ContainerBuilder $container) public function load(array $configs, ContainerBuilder $container)
@ -194,16 +191,7 @@ class FrameworkExtension extends Extension
return new Configuration($container->getParameter('kernel.debug')); return new Configuration($container->getParameter('kernel.debug'));
} }
/** private function registerFormConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader)
* Loads Form configuration.
*
* @param array $config A configuration array
* @param ContainerBuilder $container A ContainerBuilder instance
* @param XmlFileLoader $loader An XmlFileLoader instance
*
* @throws \LogicException
*/
private function registerFormConfiguration($config, ContainerBuilder $container, XmlFileLoader $loader)
{ {
$loader->load('form.xml'); $loader->load('form.xml');
if (null === $config['form']['csrf_protection']['enabled']) { if (null === $config['form']['csrf_protection']['enabled']) {
@ -225,13 +213,6 @@ class FrameworkExtension extends Extension
} }
} }
/**
* Loads the ESI configuration.
*
* @param array $config An ESI configuration array
* @param ContainerBuilder $container A ContainerBuilder instance
* @param XmlFileLoader $loader An XmlFileLoader instance
*/
private function registerEsiConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader) private function registerEsiConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader)
{ {
if (!$this->isConfigEnabled($container, $config)) { if (!$this->isConfigEnabled($container, $config)) {
@ -241,13 +222,6 @@ class FrameworkExtension extends Extension
$loader->load('esi.xml'); $loader->load('esi.xml');
} }
/**
* Loads the SSI configuration.
*
* @param array $config An SSI configuration array
* @param ContainerBuilder $container A ContainerBuilder instance
* @param XmlFileLoader $loader An XmlFileLoader instance
*/
private function registerSsiConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader) private function registerSsiConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader)
{ {
if (!$this->isConfigEnabled($container, $config)) { if (!$this->isConfigEnabled($container, $config)) {
@ -257,13 +231,6 @@ class FrameworkExtension extends Extension
$loader->load('ssi.xml'); $loader->load('ssi.xml');
} }
/**
* Loads the fragments configuration.
*
* @param array $config A fragments configuration array
* @param ContainerBuilder $container A ContainerBuilder instance
* @param XmlFileLoader $loader An XmlFileLoader instance
*/
private function registerFragmentsConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader) private function registerFragmentsConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader)
{ {
if (!$this->isConfigEnabled($container, $config)) { if (!$this->isConfigEnabled($container, $config)) {
@ -274,15 +241,6 @@ class FrameworkExtension extends Extension
$container->setParameter('fragment.path', $config['path']); $container->setParameter('fragment.path', $config['path']);
} }
/**
* Loads the profiler configuration.
*
* @param array $config A profiler configuration array
* @param ContainerBuilder $container A ContainerBuilder instance
* @param XmlFileLoader $loader An XmlFileLoader instance
*
* @throws \LogicException
*/
private function registerProfilerConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader) private function registerProfilerConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader)
{ {
if (!$this->isConfigEnabled($container, $config)) { if (!$this->isConfigEnabled($container, $config)) {
@ -355,13 +313,6 @@ class FrameworkExtension extends Extension
} }
} }
/**
* Loads the router configuration.
*
* @param array $config A router configuration array
* @param ContainerBuilder $container A ContainerBuilder instance
* @param XmlFileLoader $loader An XmlFileLoader instance
*/
private function registerRouterConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader) private function registerRouterConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader)
{ {
$loader->load('routing.xml'); $loader->load('routing.xml');
@ -388,13 +339,6 @@ class FrameworkExtension extends Extension
)); ));
} }
/**
* Loads the session configuration.
*
* @param array $config A session configuration array
* @param ContainerBuilder $container A ContainerBuilder instance
* @param XmlFileLoader $loader An XmlFileLoader instance
*/
private function registerSessionConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader) private function registerSessionConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader)
{ {
$loader->load('session.xml'); $loader->load('session.xml');
@ -447,13 +391,6 @@ class FrameworkExtension extends Extension
$container->setParameter('session.metadata.update_threshold', $config['metadata_update_threshold']); $container->setParameter('session.metadata.update_threshold', $config['metadata_update_threshold']);
} }
/**
* Loads the request configuration.
*
* @param array $config A request configuration array
* @param ContainerBuilder $container A ContainerBuilder instance
* @param XmlFileLoader $loader An XmlFileLoader instance
*/
private function registerRequestConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader) private function registerRequestConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader)
{ {
if ($config['formats']) { if ($config['formats']) {
@ -465,14 +402,6 @@ class FrameworkExtension extends Extension
} }
} }
/**
* Loads the templating configuration.
*
* @param array $config A templating configuration array
* @param string $ide
* @param ContainerBuilder $container A ContainerBuilder instance
* @param XmlFileLoader $loader An XmlFileLoader instance
*/
private function registerTemplatingConfiguration(array $config, $ide, ContainerBuilder $container, XmlFileLoader $loader) private function registerTemplatingConfiguration(array $config, $ide, ContainerBuilder $container, XmlFileLoader $loader)
{ {
$loader->load('templating.xml'); $loader->load('templating.xml');
@ -575,13 +504,6 @@ class FrameworkExtension extends Extension
} }
} }
/**
* Loads the assets configuration.
*
* @param array $config A assets configuration array
* @param ContainerBuilder $container A ContainerBuilder instance
* @param XmlFileLoader $loader An XmlFileLoader instance
*/
private function registerAssetsConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader) private function registerAssetsConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader)
{ {
$loader->load('assets.xml'); $loader->load('assets.xml');
@ -645,12 +567,6 @@ class FrameworkExtension extends Extension
return new Reference('assets._version_'.$name); return new Reference('assets._version_'.$name);
} }
/**
* Loads the translator configuration.
*
* @param array $config A translator configuration array
* @param ContainerBuilder $container A ContainerBuilder instance
*/
private function registerTranslatorConfiguration(array $config, ContainerBuilder $container) private function registerTranslatorConfiguration(array $config, ContainerBuilder $container)
{ {
if (!$this->isConfigEnabled($container, $config)) { if (!$this->isConfigEnabled($container, $config)) {
@ -728,13 +644,6 @@ class FrameworkExtension extends Extension
} }
} }
/**
* Loads the validator configuration.
*
* @param array $config A validation configuration array
* @param ContainerBuilder $container A ContainerBuilder instance
* @param XmlFileLoader $loader An XmlFileLoader instance
*/
private function registerValidationConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader) private function registerValidationConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader)
{ {
if (!$this->isConfigEnabled($container, $config)) { if (!$this->isConfigEnabled($container, $config)) {
@ -861,15 +770,6 @@ class FrameworkExtension extends Extension
; ;
} }
/**
* Loads the security configuration.
*
* @param array $config A CSRF configuration array
* @param ContainerBuilder $container A ContainerBuilder instance
* @param XmlFileLoader $loader An XmlFileLoader instance
*
* @throws \LogicException
*/
private function registerSecurityCsrfConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader) private function registerSecurityCsrfConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader)
{ {
if (!$this->isConfigEnabled($container, $config)) { if (!$this->isConfigEnabled($container, $config)) {
@ -884,13 +784,6 @@ class FrameworkExtension extends Extension
$loader->load('security_csrf.xml'); $loader->load('security_csrf.xml');
} }
/**
* Loads the serializer configuration.
*
* @param array $config A serializer configuration array
* @param ContainerBuilder $container A ContainerBuilder instance
* @param XmlFileLoader $loader An XmlFileLoader instance
*/
private function registerSerializerConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader) private function registerSerializerConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader)
{ {
if (!$config['enabled']) { if (!$config['enabled']) {
@ -965,8 +858,6 @@ class FrameworkExtension extends Extension
/** /**
* Gets a hash of the kernel root directory. * Gets a hash of the kernel root directory.
* *
* @param ContainerBuilder $container
*
* @return string * @return string
*/ */
private function getKernelRootHash(ContainerBuilder $container) private function getKernelRootHash(ContainerBuilder $container)

View File

@ -31,11 +31,6 @@ class DelegatingLoader extends BaseDelegatingLoader
protected $logger; protected $logger;
private $loading = false; private $loading = false;
/**
* @param ControllerNameParser $parser A ControllerNameParser instance
* @param LoggerInterface $logger A LoggerInterface instance
* @param LoaderResolverInterface $resolver A LoaderResolverInterface instance
*/
public function __construct(ControllerNameParser $parser, LoggerInterface $logger = null, LoaderResolverInterface $resolver) public function __construct(ControllerNameParser $parser, LoggerInterface $logger = null, LoaderResolverInterface $resolver)
{ {
$this->parser = $parser; $this->parser = $parser;

View File

@ -79,8 +79,6 @@ class Router extends BaseRouter implements WarmableInterface
* - the route host, * - the route host,
* - the route schemes, * - the route schemes,
* - the route methods. * - the route methods.
*
* @param RouteCollection $collection
*/ */
private function resolveParameters(RouteCollection $collection) private function resolveParameters(RouteCollection $collection)
{ {

View File

@ -28,9 +28,6 @@ class Debugger implements DebuggerInterface
{ {
protected $logger; protected $logger;
/**
* @param LoggerInterface $logger A LoggerInterface instance
*/
public function __construct(LoggerInterface $logger = null) public function __construct(LoggerInterface $logger = null)
{ {
$this->logger = $logger; $this->logger = $logger;

View File

@ -24,10 +24,6 @@ class DelegatingEngine extends BaseDelegatingEngine implements EngineInterface
{ {
protected $container; protected $container;
/**
* @param ContainerInterface $container The DI container
* @param array $engineIds An array of engine Ids
*/
public function __construct(ContainerInterface $container, array $engineIds) public function __construct(ContainerInterface $container, array $engineIds)
{ {
$this->container = $container; $this->container = $container;

View File

@ -25,9 +25,6 @@ class GlobalVariables
{ {
protected $container; protected $container;
/**
* @param ContainerInterface $container The DI container
*/
public function __construct(ContainerInterface $container) public function __construct(ContainerInterface $container)
{ {
$this->container = $container; $this->container = $container;

View File

@ -24,9 +24,6 @@ class ActionsHelper extends Helper
{ {
private $handler; private $handler;
/**
* @param FragmentHandler $handler A FragmentHandler instance
*/
public function __construct(FragmentHandler $handler) public function __construct(FragmentHandler $handler)
{ {
$this->handler = $handler; $this->handler = $handler;

View File

@ -23,14 +23,8 @@ use Symfony\Component\Form\FormView;
*/ */
class FormHelper extends Helper class FormHelper extends Helper
{ {
/**
* @var FormRendererInterface
*/
private $renderer; private $renderer;
/**
* @param FormRendererInterface $renderer
*/
public function __construct(FormRendererInterface $renderer) public function __construct(FormRendererInterface $renderer)
{ {
$this->renderer = $renderer; $this->renderer = $renderer;
@ -198,8 +192,6 @@ class FormHelper extends Helper
/** /**
* Renders the errors of the given view. * Renders the errors of the given view.
* *
* @param FormView $view The view to render the errors for
*
* @return string The HTML markup * @return string The HTML markup
*/ */
public function errors(FormView $view) public function errors(FormView $view)

View File

@ -23,9 +23,6 @@ class RouterHelper extends Helper
{ {
protected $generator; protected $generator;
/**
* @param UrlGeneratorInterface $router A Router instance
*/
public function __construct(UrlGeneratorInterface $router) public function __construct(UrlGeneratorInterface $router)
{ {
$this->generator = $router; $this->generator = $router;

View File

@ -21,9 +21,6 @@ class TranslatorHelper extends Helper
{ {
protected $translator; protected $translator;
/**
* @param TranslatorInterface $translator A TranslatorInterface instance
*/
public function __construct(TranslatorInterface $translator) public function __construct(TranslatorInterface $translator)
{ {
$this->translator = $translator; $this->translator = $translator;

View File

@ -25,9 +25,6 @@ class FilesystemLoader implements LoaderInterface
{ {
protected $locator; protected $locator;
/**
* @param FileLocatorInterface $locator A FileLocatorInterface instance
*/
public function __construct(FileLocatorInterface $locator) public function __construct(FileLocatorInterface $locator)
{ {
$this->locator = $locator; $this->locator = $locator;

View File

@ -42,8 +42,6 @@ class TemplateLocator implements FileLocatorInterface
/** /**
* Returns a full path for a given file. * Returns a full path for a given file.
* *
* @param TemplateReferenceInterface $template A template
*
* @return string The full path for the file * @return string The full path for the file
*/ */
protected function getCacheKey($template) protected function getCacheKey($template)

View File

@ -26,12 +26,6 @@ class PhpEngine extends BasePhpEngine implements EngineInterface
{ {
protected $container; protected $container;
/**
* @param TemplateNameParserInterface $parser A TemplateNameParserInterface instance
* @param ContainerInterface $container The DI container
* @param LoaderInterface $loader A loader instance
* @param GlobalVariables|null $globals A GlobalVariables instance or null
*/
public function __construct(TemplateNameParserInterface $parser, ContainerInterface $container, LoaderInterface $loader, GlobalVariables $globals = null) public function __construct(TemplateNameParserInterface $parser, ContainerInterface $container, LoaderInterface $loader, GlobalVariables $globals = null)
{ {
$this->container = $container; $this->container = $container;

View File

@ -27,9 +27,6 @@ class TemplateNameParser extends BaseTemplateNameParser
protected $kernel; protected $kernel;
protected $cache = array(); protected $cache = array();
/**
* @param KernelInterface $kernel A KernelInterface instance
*/
public function __construct(KernelInterface $kernel) public function __construct(KernelInterface $kernel)
{ {
$this->kernel = $kernel; $this->kernel = $kernel;

View File

@ -25,13 +25,6 @@ class TimedPhpEngine extends PhpEngine
{ {
protected $stopwatch; protected $stopwatch;
/**
* @param TemplateNameParserInterface $parser A TemplateNameParserInterface instance
* @param ContainerInterface $container A ContainerInterface instance
* @param LoaderInterface $loader A LoaderInterface instance
* @param Stopwatch $stopwatch A Stopwatch instance
* @param GlobalVariables $globals A GlobalVariables instance
*/
public function __construct(TemplateNameParserInterface $parser, ContainerInterface $container, LoaderInterface $loader, Stopwatch $stopwatch, GlobalVariables $globals = null) public function __construct(TemplateNameParserInterface $parser, ContainerInterface $container, LoaderInterface $loader, Stopwatch $stopwatch, GlobalVariables $globals = null)
{ {
parent::__construct($parser, $container, $loader, $globals); parent::__construct($parser, $container, $loader, $globals);

View File

@ -135,8 +135,6 @@ abstract class KernelTestCase extends TestCase
/** /**
* Boots the Kernel for this test. * Boots the Kernel for this test.
*
* @param array $options
*/ */
protected static function bootKernel(array $options = array()) protected static function bootKernel(array $options = array())
{ {
@ -154,8 +152,6 @@ abstract class KernelTestCase extends TestCase
* * environment * * environment
* * debug * * debug
* *
* @param array $options An array of options
*
* @return KernelInterface A KernelInterface instance * @return KernelInterface A KernelInterface instance
*/ */
protected static function createKernel(array $options = array()) protected static function createKernel(array $options = array())

View File

@ -209,8 +209,6 @@ class RouterTest extends TestCase
} }
/** /**
* @param RouteCollection $routes
*
* @return \Symfony\Component\DependencyInjection\Container * @return \Symfony\Component\DependencyInjection\Container
*/ */
private function getServiceContainer(RouteCollection $routes) private function getServiceContainer(RouteCollection $routes)

View File

@ -29,15 +29,11 @@ class PhpExtractor extends AbstractFileExtractor implements ExtractorInterface
/** /**
* Prefix for new found message. * Prefix for new found message.
*
* @var string
*/ */
private $prefix = ''; private $prefix = '';
/** /**
* The sequence that captures translation messages. * The sequence that captures translation messages.
*
* @var array
*/ */
protected $sequences = array( protected $sequences = array(
array( array(

View File

@ -56,8 +56,6 @@ class ConstraintValidatorFactory implements ConstraintValidatorFactoryInterface
/** /**
* Returns the validator for the supplied constraint. * Returns the validator for the supplied constraint.
* *
* @param Constraint $constraint A constraint
*
* @return ConstraintValidatorInterface A validator for the supplied constraint * @return ConstraintValidatorInterface A validator for the supplied constraint
* *
* @throws ValidatorException When the validator class does not exist * @throws ValidatorException When the validator class does not exist

View File

@ -26,10 +26,6 @@ class SecurityDataCollector extends DataCollector
private $tokenStorage; private $tokenStorage;
private $roleHierarchy; private $roleHierarchy;
/**
* @param TokenStorageInterface|null $tokenStorage
* @param RoleHierarchyInterface|null $roleHierarchy
*/
public function __construct(TokenStorageInterface $tokenStorage = null, RoleHierarchyInterface $roleHierarchy = null) public function __construct(TokenStorageInterface $tokenStorage = null, RoleHierarchyInterface $roleHierarchy = null)
{ {
$this->tokenStorage = $tokenStorage; $this->tokenStorage = $tokenStorage;

View File

@ -36,10 +36,6 @@ class MainConfiguration implements ConfigurationInterface
private $factories; private $factories;
private $userProviderFactories; private $userProviderFactories;
/**
* @param array $factories
* @param array $userProviderFactories
*/
public function __construct(array $factories, array $userProviderFactories) public function __construct(array $factories, array $userProviderFactories)
{ {
$this->factories = $factories; $this->factories = $factories;

View File

@ -144,8 +144,6 @@ abstract class AbstractFactory implements SecurityFactoryInterface
* Subclasses may disable remember-me features for the listener, by * Subclasses may disable remember-me features for the listener, by
* always returning false from this method. * always returning false from this method.
* *
* @param array $config
*
* @return bool Whether a possibly configured RememberMeServices should be set for this listener * @return bool Whether a possibly configured RememberMeServices should be set for this listener
*/ */
protected function isRememberMeAware($config) protected function isRememberMeAware($config)

View File

@ -160,11 +160,8 @@ class SecurityExtension extends Extension
/** /**
* Loads the web configuration. * Loads the web configuration.
*
* @param array $config An array of configuration settings
* @param ContainerBuilder $container A ContainerBuilder instance
*/ */
private function createRoleHierarchy($config, ContainerBuilder $container) private function createRoleHierarchy(array $config, ContainerBuilder $container)
{ {
if (!isset($config['role_hierarchy'])) { if (!isset($config['role_hierarchy'])) {
$container->removeDefinition('security.access.role_hierarchy_voter'); $container->removeDefinition('security.access.role_hierarchy_voter');

View File

@ -20,8 +20,6 @@ class MainConfigurationTest extends TestCase
/** /**
* The minimal, required config needed to not have any required validation * The minimal, required config needed to not have any required validation
* issues. * issues.
*
* @var array
*/ */
protected static $minimalConfig = array( protected static $minimalConfig = array(
'providers' => array( 'providers' => array(

View File

@ -31,9 +31,6 @@ class UserLoginFormType extends AbstractType
{ {
private $request; private $request;
/**
* @param Request $request A request instance
*/
public function __construct(Request $request) public function __construct(Request $request)
{ {
$this->request = $request; $this->request = $request;

View File

@ -29,10 +29,6 @@ class TemplateCacheCacheWarmer implements CacheWarmerInterface
protected $container; protected $container;
protected $finder; protected $finder;
/**
* @param ContainerInterface $container The dependency injection container
* @param TemplateFinderInterface|null $finder The template paths cache warmer
*/
public function __construct(ContainerInterface $container, TemplateFinderInterface $finder = null) public function __construct(ContainerInterface $container, TemplateFinderInterface $finder = null)
{ {
// We don't inject the Twig environment directly as it depends on the // We don't inject the Twig environment directly as it depends on the

View File

@ -50,10 +50,6 @@ class ExceptionController
* the exception page (when true). If it is not present, the "debug" value passed into the constructor will * the exception page (when true). If it is not present, the "debug" value passed into the constructor will
* be used. * be used.
* *
* @param Request $request The request
* @param FlattenException $exception A FlattenException instance
* @param DebugLoggerInterface $logger A DebugLoggerInterface instance
*
* @return Response * @return Response
* *
* @throws \InvalidArgumentException When the exception template does not exist * @throws \InvalidArgumentException When the exception template does not exist

View File

@ -27,9 +27,6 @@ class TwigExtension extends Extension
{ {
/** /**
* Responds to the twig configuration parameter. * Responds to the twig configuration parameter.
*
* @param array $configs
* @param ContainerBuilder $container
*/ */
public function load(array $configs, ContainerBuilder $container) public function load(array $configs, ContainerBuilder $container)
{ {

View File

@ -28,10 +28,6 @@ class FilesystemLoader extends BaseFilesystemLoader
protected $locator; protected $locator;
protected $parser; protected $parser;
/**
* @param FileLocatorInterface $locator A FileLocatorInterface instance
* @param TemplateNameParserInterface $parser A TemplateNameParserInterface instance
*/
public function __construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser) public function __construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser)
{ {
parent::__construct(array()); parent::__construct(array());

View File

@ -29,8 +29,6 @@ class RenderTokenParser extends AbstractTokenParser
/** /**
* Parses a token and returns a node. * Parses a token and returns a node.
* *
* @param Token $token
*
* @return Node * @return Node
*/ */
public function parse(Token $token) public function parse(Token $token)

View File

@ -206,8 +206,6 @@ class ProfilerController
/** /**
* Renders the profiler search bar. * Renders the profiler search bar.
* *
* @param Request $request The current HTTP Request
*
* @return Response A Response instance * @return Response A Response instance
* *
* @throws NotFoundHttpException * @throws NotFoundHttpException
@ -298,8 +296,6 @@ class ProfilerController
/** /**
* Narrows the search bar. * Narrows the search bar.
* *
* @param Request $request The current HTTP Request
*
* @return Response A Response instance * @return Response A Response instance
* *
* @throws NotFoundHttpException * @throws NotFoundHttpException

View File

@ -63,8 +63,6 @@ class TemplateManager
/** /**
* Gets the templates for a given profile. * Gets the templates for a given profile.
* *
* @param Profile $profile
*
* @return Template[] * @return Template[]
* *
* @deprecated not used anymore internally * @deprecated not used anymore internally
@ -82,8 +80,6 @@ class TemplateManager
/** /**
* Gets template names of templates that are present in the viewed profile. * Gets template names of templates that are present in the viewed profile.
* *
* @param Profile $profile
*
* @return array * @return array
* *
* @throws \UnexpectedValueException * @throws \UnexpectedValueException

View File

@ -38,11 +38,6 @@ class Packages
} }
} }
/**
* Sets the default package.
*
* @param PackageInterface $defaultPackage The default package
*/
public function setDefaultPackage(PackageInterface $defaultPackage) public function setDefaultPackage(PackageInterface $defaultPackage)
{ {
$this->defaultPackage = $defaultPackage; $this->defaultPackage = $defaultPackage;

View File

@ -212,8 +212,6 @@ abstract class Client
/** /**
* Clicks on a given link. * Clicks on a given link.
* *
* @param Link $link A Link instance
*
* @return Crawler * @return Crawler
*/ */
public function click(Link $link) public function click(Link $link)

View File

@ -21,8 +21,6 @@ class Cookie
/** /**
* Handles dates as defined by RFC 2616 section 3.3.1, and also some other * Handles dates as defined by RFC 2616 section 3.3.1, and also some other
* non-standard, but common formats. * non-standard, but common formats.
*
* @var array
*/ */
private static $dateFormats = array( private static $dateFormats = array(
'D, d M Y H:i:s T', 'D, d M Y H:i:s T',

View File

@ -20,11 +20,6 @@ class CookieJar
{ {
protected $cookieJar = array(); protected $cookieJar = array();
/**
* Sets a cookie.
*
* @param Cookie $cookie A Cookie instance
*/
public function set(Cookie $cookie) public function set(Cookie $cookie)
{ {
$this->cookieJar[$cookie->getDomain()][$cookie->getPath()][$cookie->getName()] = $cookie; $this->cookieJar[$cookie->getDomain()][$cookie->getPath()][$cookie->getName()] = $cookie;

View File

@ -32,8 +32,6 @@ class History
/** /**
* Adds a Request to the history. * Adds a Request to the history.
*
* @param Request $request A Request instance
*/ */
public function add(Request $request) public function add(Request $request)
{ {

View File

@ -294,8 +294,6 @@ REGEX;
/** /**
* Gets an ordered array of passed classes including all their dependencies. * Gets an ordered array of passed classes including all their dependencies.
* *
* @param array $classes
*
* @return \ReflectionClass[] An array of sorted \ReflectionClass instances (dependencies added if needed) * @return \ReflectionClass[] An array of sorted \ReflectionClass instances (dependencies added if needed)
* *
* @throws \InvalidArgumentException When a class can't be loaded * @throws \InvalidArgumentException When a class can't be loaded

View File

@ -20,9 +20,6 @@ namespace Symfony\Component\ClassLoader;
*/ */
class Psr4ClassLoader class Psr4ClassLoader
{ {
/**
* @var array
*/
private $prefixes = array(); private $prefixes = array();
/** /**

View File

@ -195,8 +195,6 @@ class ArrayNode extends BaseNode implements PrototypeNodeInterface
/** /**
* Adds a child node. * Adds a child node.
* *
* @param NodeInterface $node The child node to add
*
* @throws \InvalidArgumentException when the child node has no name * @throws \InvalidArgumentException when the child node has no name
* @throws \InvalidArgumentException when the child node's name is not unique * @throws \InvalidArgumentException when the child node's name is not unique
*/ */

View File

@ -48,8 +48,6 @@ class ArrayNodeDefinition extends NodeDefinition implements ParentNodeDefinition
/** /**
* Sets a custom children builder. * Sets a custom children builder.
*
* @param NodeBuilder $builder A custom NodeBuilder
*/ */
public function setBuilder(NodeBuilder $builder) public function setBuilder(NodeBuilder $builder)
{ {
@ -318,8 +316,6 @@ class ArrayNodeDefinition extends NodeDefinition implements ParentNodeDefinition
* ->append($this->getBarNodeDefinition()) * ->append($this->getBarNodeDefinition())
* ; * ;
* *
* @param NodeDefinition $node A NodeDefinition instance
*
* @return $this * @return $this
*/ */
public function append(NodeDefinition $node) public function append(NodeDefinition $node)
@ -416,8 +412,6 @@ class ArrayNodeDefinition extends NodeDefinition implements ParentNodeDefinition
/** /**
* Validate the configuration of a concrete node. * Validate the configuration of a concrete node.
* *
* @param ArrayNode $node The related node
*
* @throws InvalidDefinitionException * @throws InvalidDefinitionException
*/ */
protected function validateConcreteNode(ArrayNode $node) protected function validateConcreteNode(ArrayNode $node)
@ -452,8 +446,6 @@ class ArrayNodeDefinition extends NodeDefinition implements ParentNodeDefinition
/** /**
* Validate the configuration of a prototype node. * Validate the configuration of a prototype node.
* *
* @param PrototypedArrayNode $node The related node
*
* @throws InvalidDefinitionException * @throws InvalidDefinitionException
*/ */
protected function validatePrototypeNode(PrototypedArrayNode $node) protected function validatePrototypeNode(PrototypedArrayNode $node)

View File

@ -23,8 +23,6 @@ class EnumNodeDefinition extends ScalarNodeDefinition
private $values; private $values;
/** /**
* @param array $values
*
* @return $this * @return $this
*/ */
public function values(array $values) public function values(array $values)

View File

@ -25,9 +25,6 @@ class ExprBuilder
public $ifPart; public $ifPart;
public $thenPart; public $thenPart;
/**
* @param NodeDefinition $node The related node
*/
public function __construct(NodeDefinition $node) public function __construct(NodeDefinition $node)
{ {
$this->node = $node; $this->node = $node;
@ -36,8 +33,6 @@ class ExprBuilder
/** /**
* Marks the expression as being always used. * Marks the expression as being always used.
* *
* @param \Closure $then
*
* @return $this * @return $this
*/ */
public function always(\Closure $then = null) public function always(\Closure $then = null)
@ -56,8 +51,6 @@ class ExprBuilder
* *
* The default one tests if the value is true. * The default one tests if the value is true.
* *
* @param \Closure $closure
*
* @return $this * @return $this
*/ */
public function ifTrue(\Closure $closure = null) public function ifTrue(\Closure $closure = null)
@ -110,8 +103,6 @@ class ExprBuilder
/** /**
* Tests if the value is in an array. * Tests if the value is in an array.
* *
* @param array $array
*
* @return $this * @return $this
*/ */
public function ifInArray(array $array) public function ifInArray(array $array)
@ -124,8 +115,6 @@ class ExprBuilder
/** /**
* Tests if the value is not in an array. * Tests if the value is not in an array.
* *
* @param array $array
*
* @return $this * @return $this
*/ */
public function ifNotInArray(array $array) public function ifNotInArray(array $array)
@ -138,8 +127,6 @@ class ExprBuilder
/** /**
* Sets the closure to run if the test pass. * Sets the closure to run if the test pass.
* *
* @param \Closure $closure
*
* @return $this * @return $this
*/ */
public function then(\Closure $closure) public function then(\Closure $closure)

View File

@ -22,9 +22,6 @@ class MergeBuilder
public $allowFalse = false; public $allowFalse = false;
public $allowOverwrite = true; public $allowOverwrite = true;
/**
* @param NodeDefinition $node The related node
*/
public function __construct(NodeDefinition $node) public function __construct(NodeDefinition $node)
{ {
$this->node = $node; $this->node = $node;

View File

@ -37,8 +37,6 @@ class NodeBuilder implements NodeParentInterface
/** /**
* Set the parent node. * Set the parent node.
* *
* @param ParentNodeDefinitionInterface $parent The parent node
*
* @return $this * @return $this
*/ */
public function setParent(ParentNodeDefinitionInterface $parent = null) public function setParent(ParentNodeDefinitionInterface $parent = null)
@ -177,8 +175,6 @@ class NodeBuilder implements NodeParentInterface
* ->end() * ->end()
* ; * ;
* *
* @param NodeDefinition $node
*
* @return $this * @return $this
*/ */
public function append(NodeDefinition $node) public function append(NodeDefinition $node)

View File

@ -32,10 +32,6 @@ abstract class NodeDefinition implements NodeParentInterface
protected $nullEquivalent; protected $nullEquivalent;
protected $trueEquivalent = true; protected $trueEquivalent = true;
protected $falseEquivalent = false; protected $falseEquivalent = false;
/**
* @var NodeParentInterface|null
*/
protected $parent; protected $parent;
protected $attributes = array(); protected $attributes = array();
@ -52,8 +48,6 @@ abstract class NodeDefinition implements NodeParentInterface
/** /**
* Sets the parent node. * Sets the parent node.
* *
* @param NodeParentInterface $parent The parent
*
* @return $this * @return $this
*/ */
public function setParent(NodeParentInterface $parent) public function setParent(NodeParentInterface $parent)

View File

@ -22,9 +22,6 @@ class NormalizationBuilder
public $before = array(); public $before = array();
public $remappings = array(); public $remappings = array();
/**
* @param NodeDefinition $node The related node
*/
public function __construct(NodeDefinition $node) public function __construct(NodeDefinition $node)
{ {
$this->node = $node; $this->node = $node;
@ -48,8 +45,6 @@ class NormalizationBuilder
/** /**
* Registers a closure to run before the normalization or an expression builder to build it if null is provided. * Registers a closure to run before the normalization or an expression builder to build it if null is provided.
* *
* @param \Closure $closure
*
* @return ExprBuilder|$this * @return ExprBuilder|$this
*/ */
public function before(\Closure $closure = null) public function before(\Closure $closure = null)

View File

@ -21,9 +21,6 @@ class ValidationBuilder
protected $node; protected $node;
public $rules = array(); public $rules = array();
/**
* @param NodeDefinition $node The related node
*/
public function __construct(NodeDefinition $node) public function __construct(NodeDefinition $node)
{ {
$this->node = $node; $this->node = $node;
@ -32,8 +29,6 @@ class ValidationBuilder
/** /**
* Registers a closure to run as normalization or an expression builder to build it if null is provided. * Registers a closure to run as normalization or an expression builder to build it if null is provided.
* *
* @param \Closure $closure
*
* @return ExprBuilder|$this * @return ExprBuilder|$this
*/ */
public function rule(\Closure $closure = null) public function rule(\Closure $closure = null)

View File

@ -150,8 +150,6 @@ class PrototypedArrayNode extends ArrayNode
/** /**
* Sets the node prototype. * Sets the node prototype.
*
* @param PrototypeNodeInterface $node
*/ */
public function setPrototype(PrototypeNodeInterface $node) public function setPrototype(PrototypeNodeInterface $node)
{ {
@ -171,8 +169,6 @@ class PrototypedArrayNode extends ArrayNode
/** /**
* Disable adding concrete children for prototyped nodes. * Disable adding concrete children for prototyped nodes.
* *
* @param NodeInterface $node The child node to add
*
* @throws Exception * @throws Exception
*/ */
public function addChild(NodeInterface $node) public function addChild(NodeInterface $node)

View File

@ -23,9 +23,6 @@ use Symfony\Component\Config\Exception\FileLoaderLoadException;
*/ */
class DelegatingLoader extends Loader class DelegatingLoader extends Loader
{ {
/**
* @param LoaderResolverInterface $resolver A LoaderResolverInterface instance
*/
public function __construct(LoaderResolverInterface $resolver) public function __construct(LoaderResolverInterface $resolver)
{ {
$this->resolver = $resolver; $this->resolver = $resolver;

View File

@ -22,21 +22,12 @@ use Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceExceptio
*/ */
abstract class FileLoader extends Loader abstract class FileLoader extends Loader
{ {
/**
* @var array
*/
protected static $loading = array(); protected static $loading = array();
/**
* @var FileLocatorInterface
*/
protected $locator; protected $locator;
private $currentDir; private $currentDir;
/**
* @param FileLocatorInterface $locator A FileLocatorInterface instance
*/
public function __construct(FileLocatorInterface $locator) public function __construct(FileLocatorInterface $locator)
{ {
$this->locator = $locator; $this->locator = $locator;

View File

@ -47,8 +47,6 @@ interface LoaderInterface
/** /**
* Sets the loader resolver. * Sets the loader resolver.
*
* @param LoaderResolverInterface $resolver A LoaderResolverInterface instance
*/ */
public function setResolver(LoaderResolverInterface $resolver); public function setResolver(LoaderResolverInterface $resolver);
} }

View File

@ -50,11 +50,6 @@ class LoaderResolver implements LoaderResolverInterface
return false; return false;
} }
/**
* Adds a loader.
*
* @param LoaderInterface $loader A LoaderInterface instance
*/
public function addLoader(LoaderInterface $loader) public function addLoader(LoaderInterface $loader)
{ {
$this->loaders[] = $loader; $this->loaders[] = $loader;

View File

@ -93,9 +93,6 @@ class Application
/** /**
* Runs the current application. * Runs the current application.
* *
* @param InputInterface $input An Input instance
* @param OutputInterface $output An Output instance
*
* @return int 0 if everything went fine, or an error code * @return int 0 if everything went fine, or an error code
* *
* @throws \Exception When running fails. Bypass this when {@link setCatchExceptions()}. * @throws \Exception When running fails. Bypass this when {@link setCatchExceptions()}.
@ -157,9 +154,6 @@ class Application
/** /**
* Runs the current application. * Runs the current application.
* *
* @param InputInterface $input An Input instance
* @param OutputInterface $output An Output instance
*
* @return int 0 if everything went fine, or an error code * @return int 0 if everything went fine, or an error code
*/ */
public function doRun(InputInterface $input, OutputInterface $output) public function doRun(InputInterface $input, OutputInterface $output)
@ -202,11 +196,6 @@ class Application
return $exitCode; return $exitCode;
} }
/**
* Set a helper set to be used with the command.
*
* @param HelperSet $helperSet The helper set
*/
public function setHelperSet(HelperSet $helperSet) public function setHelperSet(HelperSet $helperSet)
{ {
$this->helperSet = $helperSet; $this->helperSet = $helperSet;
@ -226,11 +215,6 @@ class Application
return $this->helperSet; return $this->helperSet;
} }
/**
* Set an input definition to be used with this application.
*
* @param InputDefinition $definition The input definition
*/
public function setDefinition(InputDefinition $definition) public function setDefinition(InputDefinition $definition)
{ {
$this->definition = $definition; $this->definition = $definition;
@ -370,8 +354,6 @@ class Application
* If a command with the same name already exists, it will be overridden. * If a command with the same name already exists, it will be overridden.
* If the command is not enabled it will not be added. * If the command is not enabled it will not be added.
* *
* @param Command $command A Command object
*
* @return Command|null The registered command if enabled or null * @return Command|null The registered command if enabled or null
*/ */
public function add(Command $command) public function add(Command $command)
@ -660,9 +642,6 @@ class Application
/** /**
* Renders a caught exception. * Renders a caught exception.
*
* @param \Exception $e An exception instance
* @param OutputInterface $output An OutputInterface instance
*/ */
public function renderException($e, $output) public function renderException($e, $output)
{ {
@ -811,9 +790,6 @@ class Application
/** /**
* Configures the input and output instances based on the user arguments and options. * Configures the input and output instances based on the user arguments and options.
*
* @param InputInterface $input An InputInterface instance
* @param OutputInterface $output An OutputInterface instance
*/ */
protected function configureIO(InputInterface $input, OutputInterface $output) protected function configureIO(InputInterface $input, OutputInterface $output)
{ {
@ -852,10 +828,6 @@ class Application
* If an event dispatcher has been attached to the application, * If an event dispatcher has been attached to the application,
* events are also dispatched during the life-cycle of the command. * events are also dispatched during the life-cycle of the command.
* *
* @param Command $command A Command instance
* @param InputInterface $input An Input instance
* @param OutputInterface $output An Output instance
*
* @return int 0 if everything went fine, or an error code * @return int 0 if everything went fine, or an error code
*/ */
protected function doRunCommand(Command $command, InputInterface $input, OutputInterface $output) protected function doRunCommand(Command $command, InputInterface $input, OutputInterface $output)
@ -908,8 +880,6 @@ class Application
/** /**
* Gets the name of the command based on input. * Gets the name of the command based on input.
* *
* @param InputInterface $input The input interface
*
* @return string The command name * @return string The command name
*/ */
protected function getCommandName(InputInterface $input) protected function getCommandName(InputInterface $input)

View File

@ -74,11 +74,6 @@ class Command
$this->ignoreValidationErrors = true; $this->ignoreValidationErrors = true;
} }
/**
* Sets the application instance for this command.
*
* @param Application $application An Application instance
*/
public function setApplication(Application $application = null) public function setApplication(Application $application = null)
{ {
$this->application = $application; $this->application = $application;
@ -89,11 +84,6 @@ class Command
} }
} }
/**
* Sets the helper set.
*
* @param HelperSet $helperSet A HelperSet instance
*/
public function setHelperSet(HelperSet $helperSet) public function setHelperSet(HelperSet $helperSet)
{ {
$this->helperSet = $helperSet; $this->helperSet = $helperSet;
@ -147,9 +137,6 @@ class Command
* execute() method, you set the code to execute by passing * execute() method, you set the code to execute by passing
* a Closure to the setCode() method. * a Closure to the setCode() method.
* *
* @param InputInterface $input An InputInterface instance
* @param OutputInterface $output An OutputInterface instance
*
* @return null|int null or 0 if everything went fine, or an error code * @return null|int null or 0 if everything went fine, or an error code
* *
* @throws \LogicException When this abstract method is not implemented * @throws \LogicException When this abstract method is not implemented
@ -167,9 +154,6 @@ class Command
* This method is executed before the InputDefinition is validated. * This method is executed before the InputDefinition is validated.
* This means that this is the only place where the command can * This means that this is the only place where the command can
* interactively ask for values of missing required arguments. * interactively ask for values of missing required arguments.
*
* @param InputInterface $input An InputInterface instance
* @param OutputInterface $output An OutputInterface instance
*/ */
protected function interact(InputInterface $input, OutputInterface $output) protected function interact(InputInterface $input, OutputInterface $output)
{ {
@ -180,9 +164,6 @@ class Command
* *
* This is mainly useful when a lot of commands extends one main command * This is mainly useful when a lot of commands extends one main command
* where some things need to be initialized based on the input arguments and options. * where some things need to be initialized based on the input arguments and options.
*
* @param InputInterface $input An InputInterface instance
* @param OutputInterface $output An OutputInterface instance
*/ */
protected function initialize(InputInterface $input, OutputInterface $output) protected function initialize(InputInterface $input, OutputInterface $output)
{ {
@ -195,9 +176,6 @@ class Command
* setCode() method or by overriding the execute() method * setCode() method or by overriding the execute() method
* in a sub-class. * in a sub-class.
* *
* @param InputInterface $input An InputInterface instance
* @param OutputInterface $output An OutputInterface instance
*
* @return int The command exit code * @return int The command exit code
* *
* @throws \Exception When binding input fails. Bypass this by calling {@link ignoreValidationErrors()}. * @throws \Exception When binding input fails. Bypass this by calling {@link ignoreValidationErrors()}.

View File

@ -57,11 +57,6 @@ EOF
; ;
} }
/**
* Sets the command.
*
* @param Command $command The command to set
*/
public function setCommand(Command $command) public function setCommand(Command $command)
{ {
$this->command = $command; $this->command = $command;

View File

@ -23,14 +23,7 @@ class ApplicationDescription
{ {
const GLOBAL_NAMESPACE = '_global'; const GLOBAL_NAMESPACE = '_global';
/**
* @var Application
*/
private $application; private $application;
/**
* @var null|string
*/
private $namespace; private $namespace;
/** /**
@ -48,10 +41,6 @@ class ApplicationDescription
*/ */
private $aliases; private $aliases;
/**
* @param Application $application
* @param string|null $namespace
*/
public function __construct(Application $application, $namespace = null) public function __construct(Application $application, $namespace = null)
{ {
$this->application = $application; $this->application = $application;
@ -127,8 +116,6 @@ class ApplicationDescription
} }
/** /**
* @param array $commands
*
* @return array * @return array
*/ */
private function sortCommands(array $commands) private function sortCommands(array $commands)

View File

@ -72,9 +72,6 @@ abstract class Descriptor implements DescriptorInterface
/** /**
* Describes an InputArgument instance. * Describes an InputArgument instance.
* *
* @param InputArgument $argument
* @param array $options
*
* @return string|mixed * @return string|mixed
*/ */
abstract protected function describeInputArgument(InputArgument $argument, array $options = array()); abstract protected function describeInputArgument(InputArgument $argument, array $options = array());
@ -82,9 +79,6 @@ abstract class Descriptor implements DescriptorInterface
/** /**
* Describes an InputOption instance. * Describes an InputOption instance.
* *
* @param InputOption $option
* @param array $options
*
* @return string|mixed * @return string|mixed
*/ */
abstract protected function describeInputOption(InputOption $option, array $options = array()); abstract protected function describeInputOption(InputOption $option, array $options = array());
@ -92,9 +86,6 @@ abstract class Descriptor implements DescriptorInterface
/** /**
* Describes an InputDefinition instance. * Describes an InputDefinition instance.
* *
* @param InputDefinition $definition
* @param array $options
*
* @return string|mixed * @return string|mixed
*/ */
abstract protected function describeInputDefinition(InputDefinition $definition, array $options = array()); abstract protected function describeInputDefinition(InputDefinition $definition, array $options = array());
@ -102,9 +93,6 @@ abstract class Descriptor implements DescriptorInterface
/** /**
* Describes a Command instance. * Describes a Command instance.
* *
* @param Command $command
* @param array $options
*
* @return string|mixed * @return string|mixed
*/ */
abstract protected function describeCommand(Command $command, array $options = array()); abstract protected function describeCommand(Command $command, array $options = array());
@ -112,9 +100,6 @@ abstract class Descriptor implements DescriptorInterface
/** /**
* Describes an Application instance. * Describes an Application instance.
* *
* @param Application $application
* @param array $options
*
* @return string|mixed * @return string|mixed
*/ */
abstract protected function describeApplication(Application $application, array $options = array()); abstract protected function describeApplication(Application $application, array $options = array());

View File

@ -81,9 +81,6 @@ class JsonDescriptor extends Descriptor
/** /**
* Writes data as json. * Writes data as json.
* *
* @param array $data
* @param array $options
*
* @return array|string * @return array|string
*/ */
private function writeData(array $data, array $options) private function writeData(array $data, array $options)
@ -92,8 +89,6 @@ class JsonDescriptor extends Descriptor
} }
/** /**
* @param InputArgument $argument
*
* @return array * @return array
*/ */
private function getInputArgumentData(InputArgument $argument) private function getInputArgumentData(InputArgument $argument)
@ -108,8 +103,6 @@ class JsonDescriptor extends Descriptor
} }
/** /**
* @param InputOption $option
*
* @return array * @return array
*/ */
private function getInputOptionData(InputOption $option) private function getInputOptionData(InputOption $option)
@ -126,8 +119,6 @@ class JsonDescriptor extends Descriptor
} }
/** /**
* @param InputDefinition $definition
*
* @return array * @return array
*/ */
private function getInputDefinitionData(InputDefinition $definition) private function getInputDefinitionData(InputDefinition $definition)
@ -146,8 +137,6 @@ class JsonDescriptor extends Descriptor
} }
/** /**
* @param Command $command
*
* @return array * @return array
*/ */
private function getCommandData(Command $command) private function getCommandData(Command $command)

View File

@ -282,7 +282,7 @@ class TextDescriptor extends Descriptor
* *
* @return int * @return int
*/ */
private function calculateTotalWidthForOptions($options) private function calculateTotalWidthForOptions(array $options)
{ {
$totalWidth = 0; $totalWidth = 0;
foreach ($options as $option) { foreach ($options as $option) {

View File

@ -27,8 +27,6 @@ use Symfony\Component\Console\Input\InputOption;
class XmlDescriptor extends Descriptor class XmlDescriptor extends Descriptor
{ {
/** /**
* @param InputDefinition $definition
*
* @return \DOMDocument * @return \DOMDocument
*/ */
public function getInputDefinitionDocument(InputDefinition $definition) public function getInputDefinitionDocument(InputDefinition $definition)
@ -50,8 +48,6 @@ class XmlDescriptor extends Descriptor
} }
/** /**
* @param Command $command
*
* @return \DOMDocument * @return \DOMDocument
*/ */
public function getCommandDocument(Command $command) public function getCommandDocument(Command $command)
@ -172,9 +168,6 @@ class XmlDescriptor extends Descriptor
/** /**
* Appends document children to parent node. * Appends document children to parent node.
*
* @param \DOMNode $parentNode
* @param \DOMNode $importedParent
*/ */
private function appendDocument(\DOMNode $parentNode, \DOMNode $importedParent) private function appendDocument(\DOMNode $parentNode, \DOMNode $importedParent)
{ {
@ -186,8 +179,6 @@ class XmlDescriptor extends Descriptor
/** /**
* Writes DOM document. * Writes DOM document.
* *
* @param \DOMDocument $dom
*
* @return \DOMDocument|string * @return \DOMDocument|string
*/ */
private function writeDocument(\DOMDocument $dom) private function writeDocument(\DOMDocument $dom)
@ -197,8 +188,6 @@ class XmlDescriptor extends Descriptor
} }
/** /**
* @param InputArgument $argument
*
* @return \DOMDocument * @return \DOMDocument
*/ */
private function getInputArgumentDocument(InputArgument $argument) private function getInputArgumentDocument(InputArgument $argument)
@ -223,8 +212,6 @@ class XmlDescriptor extends Descriptor
} }
/** /**
* @param InputOption $option
*
* @return \DOMDocument * @return \DOMDocument
*/ */
private function getInputOptionDocument(InputOption $option) private function getInputOptionDocument(InputOption $option)

View File

@ -170,9 +170,7 @@ class OutputFormatterStyle implements OutputFormatterStyleInterface
} }
/** /**
* Sets multiple style options at once. * {@inheritdoc}
*
* @param array $options
*/ */
public function setOptions(array $options) public function setOptions(array $options)
{ {

View File

@ -48,8 +48,6 @@ interface OutputFormatterStyleInterface
/** /**
* Sets multiple style options at once. * Sets multiple style options at once.
*
* @param array $options
*/ */
public function setOptions(array $options); public function setOptions(array $options);

View File

@ -21,14 +21,8 @@ class OutputFormatterStyleStack
*/ */
private $styles; private $styles;
/**
* @var OutputFormatterStyleInterface
*/
private $emptyStyle; private $emptyStyle;
/**
* @param OutputFormatterStyleInterface|null $emptyStyle
*/
public function __construct(OutputFormatterStyleInterface $emptyStyle = null) public function __construct(OutputFormatterStyleInterface $emptyStyle = null)
{ {
$this->emptyStyle = $emptyStyle ?: new OutputFormatterStyle(); $this->emptyStyle = $emptyStyle ?: new OutputFormatterStyle();
@ -45,8 +39,6 @@ class OutputFormatterStyleStack
/** /**
* Pushes a style in the stack. * Pushes a style in the stack.
*
* @param OutputFormatterStyleInterface $style
*/ */
public function push(OutputFormatterStyleInterface $style) public function push(OutputFormatterStyleInterface $style)
{ {
@ -56,8 +48,6 @@ class OutputFormatterStyleStack
/** /**
* Pops a style from the stack. * Pops a style from the stack.
* *
* @param OutputFormatterStyleInterface|null $style
*
* @return OutputFormatterStyleInterface * @return OutputFormatterStyleInterface
* *
* @throws \InvalidArgumentException When style tags incorrectly nested * @throws \InvalidArgumentException When style tags incorrectly nested
@ -98,8 +88,6 @@ class OutputFormatterStyleStack
} }
/** /**
* @param OutputFormatterStyleInterface $emptyStyle
*
* @return $this * @return $this
*/ */
public function setEmptyStyle(OutputFormatterStyleInterface $emptyStyle) public function setEmptyStyle(OutputFormatterStyleInterface $emptyStyle)

View File

@ -23,9 +23,7 @@ abstract class Helper implements HelperInterface
protected $helperSet = null; protected $helperSet = null;
/** /**
* Sets the helper set associated with this helper. * {@inheritdoc}
*
* @param HelperSet $helperSet A HelperSet instance
*/ */
public function setHelperSet(HelperSet $helperSet = null) public function setHelperSet(HelperSet $helperSet = null)
{ {
@ -33,9 +31,7 @@ abstract class Helper implements HelperInterface
} }
/** /**
* Gets the helper set associated with this helper. * {@inheritdoc}
*
* @return HelperSet|null
*/ */
public function getHelperSet() public function getHelperSet()
{ {

View File

@ -20,8 +20,6 @@ interface HelperInterface
{ {
/** /**
* Sets the helper set associated with this helper. * Sets the helper set associated with this helper.
*
* @param HelperSet $helperSet A HelperSet instance
*/ */
public function setHelperSet(HelperSet $helperSet = null); public function setHelperSet(HelperSet $helperSet = null);

Some files were not shown because too many files have changed in this diff Show More