diff --git a/src/Symfony/Bridge/Doctrine/DataCollector/DoctrineDataCollector.php b/src/Symfony/Bridge/Doctrine/DataCollector/DoctrineDataCollector.php index a25a670e80..a4fef5bbac 100644 --- a/src/Symfony/Bridge/Doctrine/DataCollector/DoctrineDataCollector.php +++ b/src/Symfony/Bridge/Doctrine/DataCollector/DoctrineDataCollector.php @@ -45,8 +45,7 @@ class DoctrineDataCollector extends DataCollector /** * Adds the stack logger for a connection. * - * @param string $name - * @param DebugStack $logger + * @param string $name */ public function addLogger($name, DebugStack $logger) { diff --git a/src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php b/src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php index 1516599c17..7b0c732143 100644 --- a/src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php +++ b/src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php @@ -171,8 +171,7 @@ abstract class AbstractDoctrineExtension extends Extension /** * Register all the collected mapping information with the object manager by registering the appropriate mapping drivers. * - * @param array $objectManager - * @param ContainerBuilder $container A ContainerBuilder instance + * @param array $objectManager */ protected function registerMappingDrivers($objectManager, ContainerBuilder $container) { @@ -251,8 +250,7 @@ abstract class AbstractDoctrineExtension extends Extension /** * Detects what metadata driver to use for the supplied directory. * - * @param string $dir A directory path - * @param ContainerBuilder $container A ContainerBuilder instance + * @param string $dir A directory path * * @return string|null A metadata driver short name, if one can be detected */ @@ -285,9 +283,8 @@ abstract class AbstractDoctrineExtension extends Extension /** * Loads a configured object manager metadata, query or result cache driver. * - * @param array $objectManager A configured object manager - * @param ContainerBuilder $container A ContainerBuilder instance - * @param string $cacheName + * @param array $objectManager A configured object manager + * @param string $cacheName * * @throws \InvalidArgumentException in case of unknown driver type */ @@ -299,10 +296,9 @@ abstract class AbstractDoctrineExtension extends Extension /** * Loads a cache driver. * - * @param string $cacheName The cache driver name - * @param string $objectManagerName The object manager name - * @param array $cacheDriver The cache driver mapping - * @param ContainerBuilder $container The ContainerBuilder instance + * @param string $cacheName The cache driver name + * @param string $objectManagerName The object manager name + * @param array $cacheDriver The cache driver mapping * * @return string * diff --git a/src/Symfony/Bridge/Doctrine/Form/ChoiceList/DoctrineChoiceLoader.php b/src/Symfony/Bridge/Doctrine/Form/ChoiceList/DoctrineChoiceLoader.php index cd040d12a9..b2810e1696 100644 --- a/src/Symfony/Bridge/Doctrine/Form/ChoiceList/DoctrineChoiceLoader.php +++ b/src/Symfony/Bridge/Doctrine/Form/ChoiceList/DoctrineChoiceLoader.php @@ -40,10 +40,7 @@ class DoctrineChoiceLoader implements ChoiceLoaderInterface * passed which optimizes the object loading for one of the Doctrine * mapper implementations. * - * @param ObjectManager $manager The object manager - * @param string $class The class name of the loaded objects - * @param IdReader|null $idReader The reader for the object IDs - * @param EntityLoaderInterface|null $objectLoader The objects loader + * @param string $class The class name of the loaded objects */ public function __construct(ObjectManager $manager, string $class, IdReader $idReader = null, EntityLoaderInterface $objectLoader = null) { diff --git a/src/Symfony/Bridge/Doctrine/Form/ChoiceList/ORMQueryBuilderLoader.php b/src/Symfony/Bridge/Doctrine/Form/ChoiceList/ORMQueryBuilderLoader.php index 96f5e2f5f1..1b880e5064 100644 --- a/src/Symfony/Bridge/Doctrine/Form/ChoiceList/ORMQueryBuilderLoader.php +++ b/src/Symfony/Bridge/Doctrine/Form/ChoiceList/ORMQueryBuilderLoader.php @@ -32,11 +32,6 @@ class ORMQueryBuilderLoader implements EntityLoaderInterface */ private $queryBuilder; - /** - * Construct an ORM Query Builder Loader. - * - * @param QueryBuilder $queryBuilder The query builder for creating the query builder - */ public function __construct(QueryBuilder $queryBuilder) { $this->queryBuilder = $queryBuilder; diff --git a/src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php b/src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php index 88f9cf9101..7d8ab71220 100644 --- a/src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php +++ b/src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php @@ -265,9 +265,8 @@ abstract class DoctrineType extends AbstractType implements ResetInterface /** * Return the default loader object. * - * @param ObjectManager $manager - * @param mixed $queryBuilder - * @param string $class + * @param mixed $queryBuilder + * @param string $class * * @return EntityLoaderInterface */ diff --git a/src/Symfony/Bridge/Doctrine/Form/Type/EntityType.php b/src/Symfony/Bridge/Doctrine/Form/Type/EntityType.php index ad4a3e4c70..9325416645 100644 --- a/src/Symfony/Bridge/Doctrine/Form/Type/EntityType.php +++ b/src/Symfony/Bridge/Doctrine/Form/Type/EntityType.php @@ -46,9 +46,8 @@ class EntityType extends DoctrineType /** * Return the default loader object. * - * @param ObjectManager $manager - * @param QueryBuilder $queryBuilder - * @param string $class + * @param QueryBuilder $queryBuilder + * @param string $class * * @return ORMQueryBuilderLoader */ diff --git a/src/Symfony/Bridge/Doctrine/Test/DoctrineTestHelper.php b/src/Symfony/Bridge/Doctrine/Test/DoctrineTestHelper.php index 709b66e01b..090007c069 100644 --- a/src/Symfony/Bridge/Doctrine/Test/DoctrineTestHelper.php +++ b/src/Symfony/Bridge/Doctrine/Test/DoctrineTestHelper.php @@ -31,8 +31,6 @@ class DoctrineTestHelper /** * Returns an entity manager for testing. * - * @param Configuration|null $config - * * @return EntityManager */ public static function createTestEntityManager(Configuration $config = null) diff --git a/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php b/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php index cf0ed8c962..312b84a71a 100644 --- a/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php +++ b/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php @@ -34,8 +34,7 @@ class UniqueEntityValidator extends ConstraintValidator } /** - * @param object $entity - * @param Constraint $constraint + * @param object $entity * * @throws UnexpectedTypeException * @throws ConstraintDefinitionException diff --git a/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/AbstractPhpFileCacheWarmer.php b/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/AbstractPhpFileCacheWarmer.php index 28e26cb3d1..c44c4137df 100644 --- a/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/AbstractPhpFileCacheWarmer.php +++ b/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/AbstractPhpFileCacheWarmer.php @@ -81,8 +81,7 @@ abstract class AbstractPhpFileCacheWarmer implements CacheWarmerInterface } /** - * @param string $cacheDir - * @param ArrayAdapter $arrayAdapter + * @param string $cacheDir * * @return bool false if there is nothing to warm-up */ diff --git a/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplateFinder.php b/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplateFinder.php index 6f772c84dc..f49e856c81 100644 --- a/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplateFinder.php +++ b/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplateFinder.php @@ -34,9 +34,7 @@ class TemplateFinder implements TemplateFinderInterface private $templates; /** - * @param KernelInterface $kernel A KernelInterface instance - * @param TemplateNameParserInterface $parser A TemplateNameParserInterface instance - * @param string $rootDir The directory where global templates can be stored + * @param string $rootDir The directory where global templates can be stored */ public function __construct(KernelInterface $kernel, TemplateNameParserInterface $parser, string $rootDir) { diff --git a/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/Descriptor.php b/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/Descriptor.php index e454633c78..48fc4f0098 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/Descriptor.php +++ b/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/Descriptor.php @@ -133,7 +133,6 @@ abstract class Descriptor implements DescriptorInterface * * @param Definition|Alias|object $service * @param array $options - * @param ContainerBuilder|null $builder */ abstract protected function describeContainerService($service, array $options = [], ContainerBuilder $builder = null); @@ -224,8 +223,7 @@ abstract class Descriptor implements DescriptorInterface } /** - * @param ContainerBuilder $builder - * @param string $serviceId + * @param string $serviceId * * @return mixed */ @@ -249,8 +247,7 @@ abstract class Descriptor implements DescriptorInterface } /** - * @param ContainerBuilder $builder - * @param bool $showHidden + * @param bool $showHidden * * @return array */ diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/RedirectController.php b/src/Symfony/Bundle/FrameworkBundle/Controller/RedirectController.php index d669771a59..91afeffa70 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Controller/RedirectController.php +++ b/src/Symfony/Bundle/FrameworkBundle/Controller/RedirectController.php @@ -46,7 +46,6 @@ class RedirectController * In case the route name is empty, the status code will be 404 when permanent is false * and 410 otherwise. * - * @param Request $request The request instance * @param string $route The route name to redirect to * @param bool $permanent Whether the redirection is permanent * @param bool|array $ignoreAttributes Whether to ignore attributes or an array of attributes to ignore @@ -88,7 +87,6 @@ class RedirectController * In case the path is empty, the status code will be 404 when permanent is false * and 410 otherwise. * - * @param Request $request The request instance * @param string $path The absolute path or URL to redirect to * @param bool $permanent Whether the redirect is permanent or not * @param string|null $scheme The URL scheme (null to keep the current one) diff --git a/src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php b/src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php index 3919737e44..b4366351c2 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php +++ b/src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php @@ -29,8 +29,6 @@ trait MicroKernelTrait * * $routes->import('config/routing.yml'); * $routes->add('/admin', 'App\Controller\AdminController::dashboard', 'admin_dashboard'); - * - * @param RouteCollectionBuilder $routes */ abstract protected function configureRoutes(RouteCollectionBuilder $routes); @@ -50,9 +48,6 @@ trait MicroKernelTrait * Or parameters: * * $c->setParameter('halloween', 'lot of fun'); - * - * @param ContainerBuilder $c - * @param LoaderInterface $loader */ abstract protected function configureContainer(ContainerBuilder $c, LoaderInterface $loader); diff --git a/src/Symfony/Bundle/FrameworkBundle/Templating/EngineInterface.php b/src/Symfony/Bundle/FrameworkBundle/Templating/EngineInterface.php index 2539980b9d..39aa15eb4c 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Templating/EngineInterface.php +++ b/src/Symfony/Bundle/FrameworkBundle/Templating/EngineInterface.php @@ -28,9 +28,8 @@ interface EngineInterface extends BaseEngineInterface /** * Renders a view and returns a Response. * - * @param string $view The view name - * @param array $parameters An array of parameters to pass to the view - * @param Response $response A Response instance + * @param string $view The view name + * @param array $parameters An array of parameters to pass to the view * * @return Response A Response instance * diff --git a/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/FormHelper.php b/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/FormHelper.php index 0956d31ada..fbcf5fcd60 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/FormHelper.php +++ b/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/FormHelper.php @@ -47,7 +47,6 @@ class FormHelper extends Helper * * The theme format is ":". * - * @param FormView $view A FormView instance * @param string|array $themes A theme or an array of theme * @param bool $useDefaultThemes If true, will use default themes defined in the renderer */ @@ -75,8 +74,7 @@ class FormHelper extends Helper * form individually. You can also create a custom form theme to adapt * the look of the form. * - * @param FormView $view The view for which to render the form - * @param array $variables Additional variables passed to the template + * @param array $variables Additional variables passed to the template * * @return string The HTML markup */ @@ -92,8 +90,7 @@ class FormHelper extends Helper * * start($form) ?>> * - * @param FormView $view The view for which to render the start tag - * @param array $variables Additional variables passed to the template + * @param array $variables Additional variables passed to the template * * @return string The HTML markup */ @@ -109,8 +106,7 @@ class FormHelper extends Helper * * end($form) ?>> * - * @param FormView $view The view for which to render the end tag - * @param array $variables Additional variables passed to the template + * @param array $variables Additional variables passed to the template * * @return string The HTML markup */ @@ -132,8 +128,7 @@ class FormHelper extends Helper * * widget($form, ['separator' => '+++++']) ?> * - * @param FormView $view The view for which to render the widget - * @param array $variables Additional variables passed to the template + * @param array $variables Additional variables passed to the template * * @return string The HTML markup */ @@ -145,8 +140,7 @@ class FormHelper extends Helper /** * Renders the entire form field "row". * - * @param FormView $view The view for which to render the row - * @param array $variables Additional variables passed to the template + * @param array $variables Additional variables passed to the template * * @return string The HTML markup */ @@ -158,9 +152,8 @@ class FormHelper extends Helper /** * Renders the label of the given view. * - * @param FormView $view The view for which to render the label - * @param string $label The label - * @param array $variables Additional variables passed to the template + * @param string $label The label + * @param array $variables Additional variables passed to the template * * @return string The HTML markup */ @@ -176,8 +169,6 @@ class FormHelper extends Helper /** * Renders the help of the given view. * - * @param FormView $view The parent view - * * @return string The HTML markup */ public function help(FormView $view): string @@ -198,8 +189,7 @@ class FormHelper extends Helper /** * Renders views which have not already been rendered. * - * @param FormView $view The parent view - * @param array $variables An array of variables + * @param array $variables An array of variables * * @return string The HTML markup */ @@ -211,9 +201,8 @@ class FormHelper extends Helper /** * Renders a block of the template. * - * @param FormView $view The view for determining the used themes - * @param string $blockName The name of the block to render - * @param array $variables The variable to pass to the template + * @param string $blockName The name of the block to render + * @param array $variables The variable to pass to the template * * @return string The HTML markup */ diff --git a/src/Symfony/Bundle/FrameworkBundle/Templating/Loader/TemplateLocator.php b/src/Symfony/Bundle/FrameworkBundle/Templating/Loader/TemplateLocator.php index 39ebe0e1d3..26f4028d36 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Templating/Loader/TemplateLocator.php +++ b/src/Symfony/Bundle/FrameworkBundle/Templating/Loader/TemplateLocator.php @@ -31,8 +31,7 @@ class TemplateLocator implements FileLocatorInterface private $cacheHits = []; /** - * @param FileLocatorInterface $locator A FileLocatorInterface instance - * @param string $cacheDir The cache path + * @param string $cacheDir The cache path */ public function __construct(FileLocatorInterface $locator, string $cacheDir = null) { diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AbstractFactory.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AbstractFactory.php index 00bb451e0e..3f7a515983 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AbstractFactory.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AbstractFactory.php @@ -98,10 +98,9 @@ abstract class AbstractFactory implements SecurityFactoryInterface * Subclasses must return the id of a service which implements the * AuthenticationProviderInterface. * - * @param ContainerBuilder $container - * @param string $id The unique id of the firewall - * @param array $config The options array for this listener - * @param string $userProviderId The id of the user provider + * @param string $id The unique id of the firewall + * @param array $config The options array for this listener + * @param string $userProviderId The id of the user provider * * @return string never null, the id of the authentication provider */ diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/SecurityFactoryInterface.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/SecurityFactoryInterface.php index 028e885246..027fe65868 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/SecurityFactoryInterface.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/SecurityFactoryInterface.php @@ -24,11 +24,10 @@ interface SecurityFactoryInterface /** * Configures the container services required to use the authentication listener. * - * @param ContainerBuilder $container - * @param string $id The unique id of the firewall - * @param array $config The options array for the listener - * @param string $userProvider The service id of the user provider - * @param string $defaultEntryPoint + * @param string $id The unique id of the firewall + * @param array $config The options array for the listener + * @param string $userProvider The service id of the user provider + * @param string $defaultEntryPoint * * @return array containing three values: * - the provider id diff --git a/src/Symfony/Bundle/SecurityBundle/EventListener/VoteListener.php b/src/Symfony/Bundle/SecurityBundle/EventListener/VoteListener.php index 30956dafcf..4d0dbdb757 100644 --- a/src/Symfony/Bundle/SecurityBundle/EventListener/VoteListener.php +++ b/src/Symfony/Bundle/SecurityBundle/EventListener/VoteListener.php @@ -33,8 +33,6 @@ class VoteListener implements EventSubscriberInterface /** * Event dispatched by a voter during access manager decision. - * - * @param VoteEvent $event event with voter data */ public function onVoterVote(VoteEvent $event) { diff --git a/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php b/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php index f8fa000d2b..003bf47c4d 100644 --- a/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php +++ b/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php @@ -36,8 +36,7 @@ class ExceptionController protected $debug; /** - * @param Environment $twig - * @param bool $debug Show error (false) or exception (true) pages by default + * @param bool $debug Show error (false) or exception (true) pages by default */ public function __construct(Environment $twig, bool $debug) { @@ -92,10 +91,9 @@ class ExceptionController } /** - * @param Request $request - * @param string $format - * @param int $code An HTTP response status code - * @param bool $showException + * @param string $format + * @param int $code An HTTP response status code + * @param bool $showException * * @return string */ diff --git a/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php b/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php index a88b6ea9da..5dc787a70a 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php +++ b/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php @@ -64,8 +64,7 @@ class ProfilerController /** * Renders a profiler panel for the given token. * - * @param Request $request The current HTTP request - * @param string $token The profiler token + * @param string $token The profiler token * * @return Response A Response instance * @@ -110,8 +109,7 @@ class ProfilerController /** * Renders the Web Debug Toolbar. * - * @param Request $request The current HTTP Request - * @param string $token The profiler token + * @param string $token The profiler token * * @return Response A Response instance * @@ -212,8 +210,7 @@ class ProfilerController /** * Renders the search results. * - * @param Request $request The current HTTP Request - * @param string $token The token + * @param string $token The token * * @return Response A Response instance * diff --git a/src/Symfony/Bundle/WebProfilerBundle/Profiler/TemplateManager.php b/src/Symfony/Bundle/WebProfilerBundle/Profiler/TemplateManager.php index 5a33d01cd8..39006185cf 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Profiler/TemplateManager.php +++ b/src/Symfony/Bundle/WebProfilerBundle/Profiler/TemplateManager.php @@ -43,8 +43,7 @@ class TemplateManager /** * Gets the template name for a given panel. * - * @param Profile $profile - * @param string $panel + * @param string $panel * * @return mixed * diff --git a/src/Symfony/Component/Asset/Packages.php b/src/Symfony/Component/Asset/Packages.php index 3e82dcdcd4..49035914ed 100644 --- a/src/Symfony/Component/Asset/Packages.php +++ b/src/Symfony/Component/Asset/Packages.php @@ -26,8 +26,7 @@ class Packages private $packages = []; /** - * @param PackageInterface $defaultPackage The default package - * @param PackageInterface[] $packages Additional packages indexed by name + * @param PackageInterface[] $packages Additional packages indexed by name */ public function __construct(PackageInterface $defaultPackage = null, array $packages = []) { @@ -46,8 +45,7 @@ class Packages /** * Adds a package. * - * @param string $name The package name - * @param PackageInterface $package The package + * @param string $name The package name */ public function addPackage($name, PackageInterface $package) { diff --git a/src/Symfony/Component/Asset/PathPackage.php b/src/Symfony/Component/Asset/PathPackage.php index e3cc56c0f7..19141e57d6 100644 --- a/src/Symfony/Component/Asset/PathPackage.php +++ b/src/Symfony/Component/Asset/PathPackage.php @@ -29,9 +29,7 @@ class PathPackage extends Package private $basePath; /** - * @param string $basePath The base path to be prepended to relative paths - * @param VersionStrategyInterface $versionStrategy The version strategy - * @param ContextInterface|null $context The context + * @param string $basePath The base path to be prepended to relative paths */ public function __construct(string $basePath, VersionStrategyInterface $versionStrategy, ContextInterface $context = null) { diff --git a/src/Symfony/Component/Asset/UrlPackage.php b/src/Symfony/Component/Asset/UrlPackage.php index f76f23429a..10bbf8dece 100644 --- a/src/Symfony/Component/Asset/UrlPackage.php +++ b/src/Symfony/Component/Asset/UrlPackage.php @@ -39,9 +39,7 @@ class UrlPackage extends Package private $sslPackage; /** - * @param string|string[] $baseUrls Base asset URLs - * @param VersionStrategyInterface $versionStrategy The version strategy - * @param ContextInterface|null $context Context + * @param string|string[] $baseUrls Base asset URLs */ public function __construct($baseUrls, VersionStrategyInterface $versionStrategy, ContextInterface $context = null) { diff --git a/src/Symfony/Component/BrowserKit/Client.php b/src/Symfony/Component/BrowserKit/Client.php index 16e5a19358..0696f845b2 100644 --- a/src/Symfony/Component/BrowserKit/Client.php +++ b/src/Symfony/Component/BrowserKit/Client.php @@ -50,9 +50,7 @@ abstract class Client private $isMainRequest = true; /** - * @param array $server The server parameters (equivalent of $_SERVER) - * @param History $history A History instance to store the browser history - * @param CookieJar $cookieJar A CookieJar instance to store the cookies + * @param array $server The server parameters (equivalent of $_SERVER) */ public function __construct(array $server = [], History $history = null, CookieJar $cookieJar = null) { @@ -309,7 +307,6 @@ abstract class Client /** * Submits a form. * - * @param Form $form A Form instance * @param array $values An array of form field values * @param array $serverParameters An array of server parameters * @@ -498,8 +495,6 @@ abstract class Client /** * Filters the BrowserKit request to the origin one. * - * @param Request $request The BrowserKit Request to filter - * * @return object An origin request instance */ protected function filterRequest(Request $request) @@ -706,8 +701,7 @@ abstract class Client /** * Makes a request from a Request object directly. * - * @param Request $request A Request instance - * @param bool $changeHistory Whether to update the history or not (only used internally for back(), forward(), and reload()) + * @param bool $changeHistory Whether to update the history or not (only used internally for back(), forward(), and reload()) * * @return Crawler */ diff --git a/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php b/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php index ed78c05b7e..80f60e5f3e 100644 --- a/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php +++ b/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php @@ -99,11 +99,10 @@ abstract class AbstractAdapter implements AdapterInterface, CacheInterface, Logg * * Using ApcuAdapter makes system caches compatible with read-only filesystems. * - * @param string $namespace - * @param int $defaultLifetime - * @param string $version - * @param string $directory - * @param LoggerInterface|null $logger + * @param string $namespace + * @param int $defaultLifetime + * @param string $version + * @param string $directory * * @return AdapterInterface */ diff --git a/src/Symfony/Component/Cache/Adapter/RedisTagAwareAdapter.php b/src/Symfony/Component/Cache/Adapter/RedisTagAwareAdapter.php index 9cf0f5220a..94a6ce5140 100644 --- a/src/Symfony/Component/Cache/Adapter/RedisTagAwareAdapter.php +++ b/src/Symfony/Component/Cache/Adapter/RedisTagAwareAdapter.php @@ -71,7 +71,6 @@ class RedisTagAwareAdapter extends AbstractTagAwareAdapter * @param \Redis|\RedisArray|\RedisCluster|\Predis\Client $redisClient The redis client * @param string $namespace The default namespace * @param int $defaultLifetime The default lifetime - * @param MarshallerInterface|null $marshaller * * @throws \Symfony\Component\Cache\Exception\LogicException If phpredis with version lower than 3.1.3. */ diff --git a/src/Symfony/Component/Cache/DataCollector/CacheDataCollector.php b/src/Symfony/Component/Cache/DataCollector/CacheDataCollector.php index 0f708f0859..1ac70296fa 100644 --- a/src/Symfony/Component/Cache/DataCollector/CacheDataCollector.php +++ b/src/Symfony/Component/Cache/DataCollector/CacheDataCollector.php @@ -30,8 +30,7 @@ class CacheDataCollector extends DataCollector implements LateDataCollectorInter private $instances = []; /** - * @param string $name - * @param TraceableAdapter $instance + * @param string $name */ public function addInstance($name, TraceableAdapter $instance) { diff --git a/src/Symfony/Component/Config/Definition/Builder/TreeBuilder.php b/src/Symfony/Component/Config/Definition/Builder/TreeBuilder.php index 9a3b0351d2..83f2c5991e 100644 --- a/src/Symfony/Component/Config/Definition/Builder/TreeBuilder.php +++ b/src/Symfony/Component/Config/Definition/Builder/TreeBuilder.php @@ -37,9 +37,8 @@ class TreeBuilder implements NodeParentInterface /** * Creates the root node. * - * @param string $name The name of the root node - * @param string $type The type of the root node - * @param NodeBuilder $builder A custom node builder instance + * @param string $name The name of the root node + * @param string $type The type of the root node * * @return ArrayNodeDefinition|NodeDefinition The root node (as an ArrayNodeDefinition when the type is 'array') * diff --git a/src/Symfony/Component/Config/Definition/Processor.php b/src/Symfony/Component/Config/Definition/Processor.php index b6a3434113..a878b90557 100644 --- a/src/Symfony/Component/Config/Definition/Processor.php +++ b/src/Symfony/Component/Config/Definition/Processor.php @@ -23,8 +23,7 @@ class Processor /** * Processes an array of configurations. * - * @param NodeInterface $configTree The node tree describing the configuration - * @param array $configs An array of configuration items to process + * @param array $configs An array of configuration items to process * * @return array The processed configuration */ @@ -42,8 +41,7 @@ class Processor /** * Processes an array of configurations. * - * @param ConfigurationInterface $configuration The configuration class - * @param array $configs An array of configuration items to process + * @param array $configs An array of configuration items to process * * @return array The processed configuration */ diff --git a/src/Symfony/Component/Config/ResourceCheckerInterface.php b/src/Symfony/Component/Config/ResourceCheckerInterface.php index 612d777864..ac0d402495 100644 --- a/src/Symfony/Component/Config/ResourceCheckerInterface.php +++ b/src/Symfony/Component/Config/ResourceCheckerInterface.php @@ -30,8 +30,6 @@ interface ResourceCheckerInterface * Queries the ResourceChecker whether it can validate a given * resource or not. * - * @param ResourceInterface $metadata The resource to be checked for freshness - * * @return bool True if the ResourceChecker can handle this resource type, false if not */ public function supports(ResourceInterface $metadata); @@ -39,8 +37,7 @@ interface ResourceCheckerInterface /** * Validates the resource. * - * @param ResourceInterface $resource The resource to be validated - * @param int $timestamp The timestamp at which the cache associated with this resource was created + * @param int $timestamp The timestamp at which the cache associated with this resource was created * * @return bool True if the resource has not changed since the given timestamp, false otherwise */ diff --git a/src/Symfony/Component/Console/CommandLoader/ContainerCommandLoader.php b/src/Symfony/Component/Console/CommandLoader/ContainerCommandLoader.php index 8000c7d5ec..50e5950a4d 100644 --- a/src/Symfony/Component/Console/CommandLoader/ContainerCommandLoader.php +++ b/src/Symfony/Component/Console/CommandLoader/ContainerCommandLoader.php @@ -25,8 +25,7 @@ class ContainerCommandLoader implements CommandLoaderInterface private $commandMap; /** - * @param ContainerInterface $container A container from which to load command services - * @param array $commandMap An array with command names as keys and service ids as values + * @param array $commandMap An array with command names as keys and service ids as values */ public function __construct(ContainerInterface $container, array $commandMap) { diff --git a/src/Symfony/Component/Console/Descriptor/DescriptorInterface.php b/src/Symfony/Component/Console/Descriptor/DescriptorInterface.php index fbc07df879..871093851c 100644 --- a/src/Symfony/Component/Console/Descriptor/DescriptorInterface.php +++ b/src/Symfony/Component/Console/Descriptor/DescriptorInterface.php @@ -23,9 +23,8 @@ interface DescriptorInterface /** * Describes an object if supported. * - * @param OutputInterface $output - * @param object $object - * @param array $options + * @param object $object + * @param array $options */ public function describe(OutputInterface $output, $object, array $options = []); } diff --git a/src/Symfony/Component/Console/Descriptor/XmlDescriptor.php b/src/Symfony/Component/Console/Descriptor/XmlDescriptor.php index 1864715321..1a5d3cc31a 100644 --- a/src/Symfony/Component/Console/Descriptor/XmlDescriptor.php +++ b/src/Symfony/Component/Console/Descriptor/XmlDescriptor.php @@ -81,7 +81,6 @@ class XmlDescriptor extends Descriptor } /** - * @param Application $application * @param string|null $namespace * * @return \DOMDocument diff --git a/src/Symfony/Component/Console/Formatter/OutputFormatterInterface.php b/src/Symfony/Component/Console/Formatter/OutputFormatterInterface.php index 281e240c5f..22f40a34ed 100644 --- a/src/Symfony/Component/Console/Formatter/OutputFormatterInterface.php +++ b/src/Symfony/Component/Console/Formatter/OutputFormatterInterface.php @@ -35,8 +35,7 @@ interface OutputFormatterInterface /** * Sets a new style. * - * @param string $name The style name - * @param OutputFormatterStyleInterface $style The style instance + * @param string $name The style name */ public function setStyle($name, OutputFormatterStyleInterface $style); diff --git a/src/Symfony/Component/Console/Helper/DescriptorHelper.php b/src/Symfony/Component/Console/Helper/DescriptorHelper.php index f8a3847b49..8859eb1318 100644 --- a/src/Symfony/Component/Console/Helper/DescriptorHelper.php +++ b/src/Symfony/Component/Console/Helper/DescriptorHelper.php @@ -48,9 +48,8 @@ class DescriptorHelper extends Helper * * format: string, the output format name * * raw_text: boolean, sets output type as raw * - * @param OutputInterface $output - * @param object $object - * @param array $options + * @param object $object + * @param array $options * * @throws InvalidArgumentException when the given format is not supported */ @@ -72,8 +71,7 @@ class DescriptorHelper extends Helper /** * Registers a descriptor. * - * @param string $format - * @param DescriptorInterface $descriptor + * @param string $format * * @return $this */ diff --git a/src/Symfony/Component/Console/Helper/HelperSet.php b/src/Symfony/Component/Console/Helper/HelperSet.php index c73fecd475..d9d73f25fc 100644 --- a/src/Symfony/Component/Console/Helper/HelperSet.php +++ b/src/Symfony/Component/Console/Helper/HelperSet.php @@ -40,8 +40,7 @@ class HelperSet implements \IteratorAggregate /** * Sets a helper. * - * @param HelperInterface $helper The helper instance - * @param string $alias An alias + * @param string $alias An alias */ public function set(HelperInterface $helper, $alias = null) { diff --git a/src/Symfony/Component/Console/Helper/ProcessHelper.php b/src/Symfony/Component/Console/Helper/ProcessHelper.php index e7e5bd7aef..5b14ef48f0 100644 --- a/src/Symfony/Component/Console/Helper/ProcessHelper.php +++ b/src/Symfony/Component/Console/Helper/ProcessHelper.php @@ -28,12 +28,11 @@ class ProcessHelper extends Helper /** * Runs an external process. * - * @param OutputInterface $output An OutputInterface instance - * @param array|Process $cmd An instance of Process or an array of the command and arguments - * @param string|null $error An error message that must be displayed if something went wrong - * @param callable|null $callback A PHP callback to run whenever there is some - * output available on STDOUT or STDERR - * @param int $verbosity The threshold for verbosity + * @param array|Process $cmd An instance of Process or an array of the command and arguments + * @param string|null $error An error message that must be displayed if something went wrong + * @param callable|null $callback A PHP callback to run whenever there is some + * output available on STDOUT or STDERR + * @param int $verbosity The threshold for verbosity * * @return Process The process that ran */ @@ -92,11 +91,10 @@ class ProcessHelper extends Helper * This is identical to run() except that an exception is thrown if the process * exits with a non-zero exit code. * - * @param OutputInterface $output An OutputInterface instance - * @param string|Process $cmd An instance of Process or a command to run - * @param string|null $error An error message that must be displayed if something went wrong - * @param callable|null $callback A PHP callback to run whenever there is some - * output available on STDOUT or STDERR + * @param string|Process $cmd An instance of Process or a command to run + * @param string|null $error An error message that must be displayed if something went wrong + * @param callable|null $callback A PHP callback to run whenever there is some + * output available on STDOUT or STDERR * * @return Process The process that ran * @@ -118,10 +116,6 @@ class ProcessHelper extends Helper /** * Wraps a Process callback to add debugging output. * - * @param OutputInterface $output An OutputInterface interface - * @param Process $process The Process - * @param callable|null $callback A PHP callable - * * @return callable */ public function wrapCallback(OutputInterface $output, Process $process, callable $callback = null) diff --git a/src/Symfony/Component/Console/Helper/ProgressIndicator.php b/src/Symfony/Component/Console/Helper/ProgressIndicator.php index 9a01637391..658924b6d9 100644 --- a/src/Symfony/Component/Console/Helper/ProgressIndicator.php +++ b/src/Symfony/Component/Console/Helper/ProgressIndicator.php @@ -34,10 +34,9 @@ class ProgressIndicator private static $formats; /** - * @param OutputInterface $output - * @param string|null $format Indicator format - * @param int $indicatorChangeInterval Change interval in milliseconds - * @param array|null $indicatorValues Animated indicator characters + * @param string|null $format Indicator format + * @param int $indicatorChangeInterval Change interval in milliseconds + * @param array|null $indicatorValues Animated indicator characters */ public function __construct(OutputInterface $output, string $format = null, int $indicatorChangeInterval = 100, array $indicatorValues = null) { diff --git a/src/Symfony/Component/Console/Helper/Table.php b/src/Symfony/Component/Console/Helper/Table.php index d866e59034..55fa9ac0ae 100644 --- a/src/Symfony/Component/Console/Helper/Table.php +++ b/src/Symfony/Component/Console/Helper/Table.php @@ -102,8 +102,7 @@ class Table /** * Sets a style definition. * - * @param string $name The style name - * @param TableStyle $style A TableStyle instance + * @param string $name The style name */ public static function setStyleDefinition($name, TableStyle $style) { diff --git a/src/Symfony/Component/Console/Input/ArgvInput.php b/src/Symfony/Component/Console/Input/ArgvInput.php index cc4f2e8b31..618e10e12a 100644 --- a/src/Symfony/Component/Console/Input/ArgvInput.php +++ b/src/Symfony/Component/Console/Input/ArgvInput.php @@ -44,8 +44,7 @@ class ArgvInput extends Input private $parsed; /** - * @param array|null $argv An array of parameters from the CLI (in the argv format) - * @param InputDefinition|null $definition A InputDefinition instance + * @param array|null $argv An array of parameters from the CLI (in the argv format) */ public function __construct(array $argv = null, InputDefinition $definition = null) { diff --git a/src/Symfony/Component/CssSelector/Exception/SyntaxErrorException.php b/src/Symfony/Component/CssSelector/Exception/SyntaxErrorException.php index cb3158a553..1200c979ea 100644 --- a/src/Symfony/Component/CssSelector/Exception/SyntaxErrorException.php +++ b/src/Symfony/Component/CssSelector/Exception/SyntaxErrorException.php @@ -25,7 +25,6 @@ class SyntaxErrorException extends ParseException { /** * @param string $expectedValue - * @param Token $foundToken * * @return self */ diff --git a/src/Symfony/Component/CssSelector/Node/FunctionNode.php b/src/Symfony/Component/CssSelector/Node/FunctionNode.php index 063f8a2789..c3fa245d4a 100644 --- a/src/Symfony/Component/CssSelector/Node/FunctionNode.php +++ b/src/Symfony/Component/CssSelector/Node/FunctionNode.php @@ -30,9 +30,8 @@ class FunctionNode extends AbstractNode private $arguments; /** - * @param NodeInterface $selector - * @param string $name - * @param Token[] $arguments + * @param string $name + * @param Token[] $arguments */ public function __construct(NodeInterface $selector, string $name, array $arguments = []) { diff --git a/src/Symfony/Component/Debug/ErrorHandler.php b/src/Symfony/Component/Debug/ErrorHandler.php index fa1673cf57..4015159545 100644 --- a/src/Symfony/Component/Debug/ErrorHandler.php +++ b/src/Symfony/Component/Debug/ErrorHandler.php @@ -176,9 +176,8 @@ class ErrorHandler /** * Sets a logger to non assigned errors levels. * - * @param LoggerInterface $logger A PSR-3 logger to put as default for the given levels - * @param array|int $levels An array map of E_* to LogLevel::* or an integer bit field of E_* constants - * @param bool $replace Whether to replace or not any existing logger + * @param array|int $levels An array map of E_* to LogLevel::* or an integer bit field of E_* constants + * @param bool $replace Whether to replace or not any existing logger */ public function setDefaultLogger(LoggerInterface $logger, $levels = E_ALL, $replace = false) { diff --git a/src/Symfony/Component/Debug/FatalErrorHandler/FatalErrorHandlerInterface.php b/src/Symfony/Component/Debug/FatalErrorHandler/FatalErrorHandlerInterface.php index a1c4a8ce54..fbf2ae00a6 100644 --- a/src/Symfony/Component/Debug/FatalErrorHandler/FatalErrorHandlerInterface.php +++ b/src/Symfony/Component/Debug/FatalErrorHandler/FatalErrorHandlerInterface.php @@ -27,8 +27,7 @@ interface FatalErrorHandlerInterface /** * Attempts to convert an error into an exception. * - * @param array $error An array as returned by error_get_last() - * @param FatalErrorException $exception A FatalErrorException instance + * @param array $error An array as returned by error_get_last() * * @return FatalErrorException|null A FatalErrorException instance if the class is able to convert the error, null otherwise */ diff --git a/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php b/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php index 89857f78a8..eab5a6ec87 100644 --- a/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php +++ b/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php @@ -105,8 +105,7 @@ abstract class AbstractRecursivePass implements CompilerPassInterface } /** - * @param Definition $definition - * @param bool $required + * @param bool $required * * @return \ReflectionFunctionAbstract|null * @@ -161,8 +160,7 @@ abstract class AbstractRecursivePass implements CompilerPassInterface } /** - * @param Definition $definition - * @param string $method + * @param string $method * * @throws RuntimeException * diff --git a/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php b/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php index 58c6e81a04..14dedf007b 100644 --- a/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php +++ b/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php @@ -54,9 +54,8 @@ class Compiler /** * Adds a pass to the PassConfig. * - * @param CompilerPassInterface $pass A compiler pass - * @param string $type The type of the pass - * @param int $priority Used to sort the passes + * @param string $type The type of the pass + * @param int $priority Used to sort the passes */ public function addPass(CompilerPassInterface $pass, $type = PassConfig::TYPE_BEFORE_OPTIMIZATION, int $priority = 0) { diff --git a/src/Symfony/Component/DependencyInjection/Compiler/PassConfig.php b/src/Symfony/Component/DependencyInjection/Compiler/PassConfig.php index 9d95bb47e4..45fbf238d7 100644 --- a/src/Symfony/Component/DependencyInjection/Compiler/PassConfig.php +++ b/src/Symfony/Component/DependencyInjection/Compiler/PassConfig.php @@ -113,9 +113,8 @@ class PassConfig /** * Adds a pass. * - * @param CompilerPassInterface $pass A Compiler pass - * @param string $type The pass type - * @param int $priority Used to sort the passes + * @param string $type The pass type + * @param int $priority Used to sort the passes * * @throws InvalidArgumentException when a pass type doesn't exist */ diff --git a/src/Symfony/Component/DependencyInjection/Compiler/ServiceLocatorTagPass.php b/src/Symfony/Component/DependencyInjection/Compiler/ServiceLocatorTagPass.php index a41f6905cf..96d4bbe0f4 100644 --- a/src/Symfony/Component/DependencyInjection/Compiler/ServiceLocatorTagPass.php +++ b/src/Symfony/Component/DependencyInjection/Compiler/ServiceLocatorTagPass.php @@ -87,9 +87,8 @@ final class ServiceLocatorTagPass extends AbstractRecursivePass } /** - * @param ContainerBuilder $container - * @param Reference[] $refMap - * @param string|null $callerId + * @param Reference[] $refMap + * @param string|null $callerId * * @return Reference */ diff --git a/src/Symfony/Component/DependencyInjection/ContainerBuilder.php b/src/Symfony/Component/DependencyInjection/ContainerBuilder.php index 3738d98a38..2523362450 100644 --- a/src/Symfony/Component/DependencyInjection/ContainerBuilder.php +++ b/src/Symfony/Component/DependencyInjection/ContainerBuilder.php @@ -446,9 +446,8 @@ class ContainerBuilder extends Container implements TaggedContainerInterface /** * Adds a compiler pass. * - * @param CompilerPassInterface $pass A compiler pass - * @param string $type The type of compiler pass - * @param int $priority Used to sort the passes + * @param string $type The type of compiler pass + * @param int $priority Used to sort the passes * * @return $this */ @@ -974,8 +973,7 @@ class ContainerBuilder extends Container implements TaggedContainerInterface /** * Sets a service definition. * - * @param string $id The service identifier - * @param Definition $definition A Definition instance + * @param string $id The service identifier * * @return Definition the service definition * diff --git a/src/Symfony/Component/DependencyInjection/LazyProxy/Instantiator/InstantiatorInterface.php b/src/Symfony/Component/DependencyInjection/LazyProxy/Instantiator/InstantiatorInterface.php index 417ab908a3..96104e4ad6 100644 --- a/src/Symfony/Component/DependencyInjection/LazyProxy/Instantiator/InstantiatorInterface.php +++ b/src/Symfony/Component/DependencyInjection/LazyProxy/Instantiator/InstantiatorInterface.php @@ -25,10 +25,8 @@ interface InstantiatorInterface /** * Instantiates a proxy object. * - * @param ContainerInterface $container The container from which the service is being requested - * @param Definition $definition The definition of the requested service - * @param string $id Identifier of the requested service - * @param callable $realInstantiator Zero-argument callback that is capable of producing the real service instance + * @param string $id Identifier of the requested service + * @param callable $realInstantiator Zero-argument callback that is capable of producing the real service instance * * @return object */ diff --git a/src/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/DumperInterface.php b/src/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/DumperInterface.php index 60787b7743..f592e6cf19 100644 --- a/src/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/DumperInterface.php +++ b/src/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/DumperInterface.php @@ -30,9 +30,8 @@ interface DumperInterface /** * Generates the code to be used to instantiate a proxy in the dumped factory code. * - * @param Definition $definition - * @param string $id Service identifier - * @param string $factoryCode The code to execute to create the service + * @param string $id Service identifier + * @param string $factoryCode The code to execute to create the service * * @return string */ diff --git a/src/Symfony/Component/DependencyInjection/Loader/FileLoader.php b/src/Symfony/Component/DependencyInjection/Loader/FileLoader.php index 35af9937bc..cb20416485 100644 --- a/src/Symfony/Component/DependencyInjection/Loader/FileLoader.php +++ b/src/Symfony/Component/DependencyInjection/Loader/FileLoader.php @@ -86,8 +86,7 @@ abstract class FileLoader extends BaseFileLoader /** * Registers a definition in the container with its instanceof-conditionals. * - * @param string $id - * @param Definition $definition + * @param string $id */ protected function setDefinition($id, Definition $definition) { diff --git a/src/Symfony/Component/ExpressionLanguage/ExpressionLanguage.php b/src/Symfony/Component/ExpressionLanguage/ExpressionLanguage.php index 51a01689a6..a257ec7969 100644 --- a/src/Symfony/Component/ExpressionLanguage/ExpressionLanguage.php +++ b/src/Symfony/Component/ExpressionLanguage/ExpressionLanguage.php @@ -29,7 +29,6 @@ class ExpressionLanguage protected $functions = []; /** - * @param CacheItemPoolInterface $cache * @param ExpressionFunctionProviderInterface[] $providers */ public function __construct(CacheItemPoolInterface $cache = null, array $providers = []) diff --git a/src/Symfony/Component/ExpressionLanguage/Parser.php b/src/Symfony/Component/ExpressionLanguage/Parser.php index 0930bac2ef..59c4d67d78 100644 --- a/src/Symfony/Component/ExpressionLanguage/Parser.php +++ b/src/Symfony/Component/ExpressionLanguage/Parser.php @@ -85,8 +85,7 @@ class Parser * variable 'container' can be used in the expression * but the compiled code will use 'this'. * - * @param TokenStream $stream A token stream instance - * @param array $names An array of valid names + * @param array $names An array of valid names * * @return Node\Node A node tree * diff --git a/src/Symfony/Component/Form/ButtonBuilder.php b/src/Symfony/Component/Form/ButtonBuilder.php index 33bbbdc36d..57aeed8f69 100644 --- a/src/Symfony/Component/Form/ButtonBuilder.php +++ b/src/Symfony/Component/Form/ButtonBuilder.php @@ -191,8 +191,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface * * This method should not be invoked. * - * @param DataTransformerInterface $viewTransformer - * @param bool $forcePrepend + * @param bool $forcePrepend * * @throws BadMethodCallException */ @@ -218,8 +217,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface * * This method should not be invoked. * - * @param DataTransformerInterface $modelTransformer - * @param bool $forceAppend + * @param bool $forceAppend * * @throws BadMethodCallException */ diff --git a/src/Symfony/Component/Form/ChoiceList/Factory/PropertyAccessDecorator.php b/src/Symfony/Component/Form/ChoiceList/Factory/PropertyAccessDecorator.php index 78c25c7399..14be2a7a2e 100644 --- a/src/Symfony/Component/Form/ChoiceList/Factory/PropertyAccessDecorator.php +++ b/src/Symfony/Component/Form/ChoiceList/Factory/PropertyAccessDecorator.php @@ -90,9 +90,8 @@ class PropertyAccessDecorator implements ChoiceListFactoryInterface /** * {@inheritdoc} * - * @param ChoiceLoaderInterface $loader The choice loader - * @param callable|string|PropertyPath|null $value The callable or path for - * generating the choice values + * @param callable|string|PropertyPath|null $value The callable or path for + * generating the choice values * * @return ChoiceListInterface The choice list */ @@ -121,7 +120,6 @@ class PropertyAccessDecorator implements ChoiceListFactoryInterface /** * {@inheritdoc} * - * @param ChoiceListInterface $list The choice list * @param array|callable|string|PropertyPath|null $preferredChoices The preferred choices * @param callable|string|PropertyPath|null $label The callable or path generating the choice labels * @param callable|string|PropertyPath|null $index The callable or path generating the view indices diff --git a/src/Symfony/Component/Form/ChoiceList/LazyChoiceList.php b/src/Symfony/Component/Form/ChoiceList/LazyChoiceList.php index b1a671d0c6..ab4c103e84 100644 --- a/src/Symfony/Component/Form/ChoiceList/LazyChoiceList.php +++ b/src/Symfony/Component/Form/ChoiceList/LazyChoiceList.php @@ -45,8 +45,7 @@ class LazyChoiceList implements ChoiceListInterface * The callable receives the choice as first and the array key as the second * argument. * - * @param ChoiceLoaderInterface $loader The choice loader - * @param callable|null $value The callable generating the choice values + * @param callable|null $value The callable generating the choice values */ public function __construct(ChoiceLoaderInterface $loader, callable $value = null) { diff --git a/src/Symfony/Component/Form/Extension/Csrf/CsrfExtension.php b/src/Symfony/Component/Form/Extension/Csrf/CsrfExtension.php index 502316e257..efd403ca9f 100644 --- a/src/Symfony/Component/Form/Extension/Csrf/CsrfExtension.php +++ b/src/Symfony/Component/Form/Extension/Csrf/CsrfExtension.php @@ -28,9 +28,8 @@ class CsrfExtension extends AbstractExtension private $translationDomain; /** - * @param CsrfTokenManagerInterface $tokenManager The CSRF token manager - * @param TranslatorInterface|null $translator The translator for translating error messages - * @param string|null $translationDomain The translation domain for translating + * @param TranslatorInterface|null $translator The translator for translating error messages + * @param string|null $translationDomain The translation domain for translating */ public function __construct(CsrfTokenManagerInterface $tokenManager, $translator = null, string $translationDomain = null) { diff --git a/src/Symfony/Component/Form/Extension/Csrf/Type/FormTypeCsrfExtension.php b/src/Symfony/Component/Form/Extension/Csrf/Type/FormTypeCsrfExtension.php index 5e5f26ff74..2f3fa437f6 100644 --- a/src/Symfony/Component/Form/Extension/Csrf/Type/FormTypeCsrfExtension.php +++ b/src/Symfony/Component/Form/Extension/Csrf/Type/FormTypeCsrfExtension.php @@ -53,9 +53,6 @@ class FormTypeCsrfExtension extends AbstractTypeExtension /** * Adds a CSRF field to the form when the CSRF protection is enabled. - * - * @param FormBuilderInterface $builder The form builder - * @param array $options The options */ public function buildForm(FormBuilderInterface $builder, array $options) { @@ -78,10 +75,6 @@ class FormTypeCsrfExtension extends AbstractTypeExtension /** * Adds a CSRF field to the root form view. - * - * @param FormView $view The form view - * @param FormInterface $form The form - * @param array $options The options */ public function finishView(FormView $view, FormInterface $form, array $options) { diff --git a/src/Symfony/Component/Form/Extension/DependencyInjection/DependencyInjectionExtension.php b/src/Symfony/Component/Form/Extension/DependencyInjection/DependencyInjectionExtension.php index a0a82495bd..3a689a61c8 100644 --- a/src/Symfony/Component/Form/Extension/DependencyInjection/DependencyInjectionExtension.php +++ b/src/Symfony/Component/Form/Extension/DependencyInjection/DependencyInjectionExtension.php @@ -25,9 +25,8 @@ class DependencyInjectionExtension implements FormExtensionInterface private $guesserServices; /** - * @param ContainerInterface $typeContainer - * @param iterable[] $typeExtensionServices - * @param iterable $guesserServices + * @param iterable[] $typeExtensionServices + * @param iterable $guesserServices */ public function __construct(ContainerInterface $typeContainer, array $typeExtensionServices, iterable $guesserServices) { diff --git a/src/Symfony/Component/Form/Extension/Validator/Constraints/FormValidator.php b/src/Symfony/Component/Form/Extension/Validator/Constraints/FormValidator.php index 4947c994fa..05a2d8bca7 100644 --- a/src/Symfony/Component/Form/Extension/Validator/Constraints/FormValidator.php +++ b/src/Symfony/Component/Form/Extension/Validator/Constraints/FormValidator.php @@ -187,7 +187,6 @@ class FormValidator extends ConstraintValidator * Post-processes the validation groups option for a given form. * * @param string|GroupSequence|(string|GroupSequence)[]|callable $groups The validation groups - * @param FormInterface $form The validated form * * @return (string|GroupSequence)[] The validation groups */ diff --git a/src/Symfony/Component/Form/Extension/Validator/EventListener/ValidationListener.php b/src/Symfony/Component/Form/Extension/Validator/EventListener/ValidationListener.php index 80c94dc66e..b9cc334256 100644 --- a/src/Symfony/Component/Form/Extension/Validator/EventListener/ValidationListener.php +++ b/src/Symfony/Component/Form/Extension/Validator/EventListener/ValidationListener.php @@ -41,11 +41,6 @@ class ValidationListener implements EventSubscriberInterface $this->violationMapper = $violationMapper; } - /** - * Validates the form and its domain object. - * - * @param FormEvent $event The event object - */ public function validateForm(FormEvent $event) { $form = $event->getForm(); diff --git a/src/Symfony/Component/Form/Extension/Validator/ViolationMapper/ViolationMapperInterface.php b/src/Symfony/Component/Form/Extension/Validator/ViolationMapper/ViolationMapperInterface.php index 49b7076b52..b17abc2cc1 100644 --- a/src/Symfony/Component/Form/Extension/Validator/ViolationMapper/ViolationMapperInterface.php +++ b/src/Symfony/Component/Form/Extension/Validator/ViolationMapper/ViolationMapperInterface.php @@ -23,9 +23,7 @@ interface ViolationMapperInterface * Maps a constraint violation to a form in the form tree under * the given form. * - * @param ConstraintViolation $violation The violation to map - * @param FormInterface $form The root form of the tree to map it to - * @param bool $allowNonSynchronized Whether to allow mapping to non-synchronized forms + * @param bool $allowNonSynchronized Whether to allow mapping to non-synchronized forms */ public function mapViolation(ConstraintViolation $violation, FormInterface $form, $allowNonSynchronized = false); } diff --git a/src/Symfony/Component/Form/FormConfigBuilderInterface.php b/src/Symfony/Component/Form/FormConfigBuilderInterface.php index d516e41056..59da9520ba 100644 --- a/src/Symfony/Component/Form/FormConfigBuilderInterface.php +++ b/src/Symfony/Component/Form/FormConfigBuilderInterface.php @@ -47,8 +47,7 @@ interface FormConfigBuilderInterface extends FormConfigInterface * The reverseTransform method of the transformer is used to convert from the * view to the normalized format. * - * @param DataTransformerInterface $viewTransformer - * @param bool $forcePrepend If set to true, prepend instead of appending + * @param bool $forcePrepend If set to true, prepend instead of appending * * @return $this The configuration object */ @@ -69,8 +68,7 @@ interface FormConfigBuilderInterface extends FormConfigInterface * The reverseTransform method of the transformer is used to convert from the * normalized to the model format. * - * @param DataTransformerInterface $modelTransformer - * @param bool $forceAppend If set to true, append instead of prepending + * @param bool $forceAppend If set to true, append instead of prepending * * @return $this The configuration object */ diff --git a/src/Symfony/Component/Form/FormError.php b/src/Symfony/Component/Form/FormError.php index 899631257b..63a40ca5ac 100644 --- a/src/Symfony/Component/Form/FormError.php +++ b/src/Symfony/Component/Form/FormError.php @@ -116,8 +116,6 @@ class FormError * * This method must only be called once. * - * @param FormInterface $origin The form that caused this error - * * @throws BadMethodCallException If the method is called more than once */ public function setOrigin(FormInterface $origin) diff --git a/src/Symfony/Component/Form/FormErrorIterator.php b/src/Symfony/Component/Form/FormErrorIterator.php index c91bbee3f3..86aa26fbfd 100644 --- a/src/Symfony/Component/Form/FormErrorIterator.php +++ b/src/Symfony/Component/Form/FormErrorIterator.php @@ -39,7 +39,6 @@ class FormErrorIterator implements \RecursiveIterator, \SeekableIterator, \Array private $errors; /** - * @param FormInterface $form The erroneous form * @param FormError[]|self[] $errors An array of form errors and instances * of FormErrorIterator * diff --git a/src/Symfony/Component/Form/FormEvent.php b/src/Symfony/Component/Form/FormEvent.php index 3b6d484e75..4477746065 100644 --- a/src/Symfony/Component/Form/FormEvent.php +++ b/src/Symfony/Component/Form/FormEvent.php @@ -22,8 +22,7 @@ class FormEvent extends Event protected $data; /** - * @param FormInterface $form The associated form - * @param mixed $data The data + * @param mixed $data The data */ public function __construct(FormInterface $form, $data) { diff --git a/src/Symfony/Component/Form/FormFactoryInterface.php b/src/Symfony/Component/Form/FormFactoryInterface.php index 74d4ba2bba..5719962724 100644 --- a/src/Symfony/Component/Form/FormFactoryInterface.php +++ b/src/Symfony/Component/Form/FormFactoryInterface.php @@ -23,9 +23,8 @@ interface FormFactoryInterface * * @see createBuilder() * - * @param string $type The type of the form - * @param mixed $data The initial data - * @param array $options The options + * @param string $type The type of the form + * @param mixed $data The initial data * * @return FormInterface The form named after the type * @@ -56,7 +55,6 @@ interface FormFactoryInterface * @param string $class The fully qualified class name * @param string $property The name of the property to guess for * @param mixed $data The initial data - * @param array $options The options for the builder * * @return FormInterface The form named after the property * @@ -67,9 +65,8 @@ interface FormFactoryInterface /** * Returns a form builder. * - * @param string $type The type of the form - * @param mixed $data The initial data - * @param array $options The options + * @param string $type The type of the form + * @param mixed $data The initial data * * @return FormBuilderInterface The form builder * @@ -99,7 +96,6 @@ interface FormFactoryInterface * @param string $class The fully qualified class name * @param string $property The name of the property to guess for * @param mixed $data The initial data - * @param array $options The options for the builder * * @return FormBuilderInterface The form builder named after the property * diff --git a/src/Symfony/Component/Form/FormInterface.php b/src/Symfony/Component/Form/FormInterface.php index da3cba51b9..9be5008182 100644 --- a/src/Symfony/Component/Form/FormInterface.php +++ b/src/Symfony/Component/Form/FormInterface.php @@ -208,8 +208,6 @@ interface FormInterface extends \ArrayAccess, \Traversable, \Countable /** * Adds an error to this form. * - * @param FormError $error - * * @return $this */ public function addError(FormError $error); diff --git a/src/Symfony/Component/Form/FormRegistry.php b/src/Symfony/Component/Form/FormRegistry.php index 9189b811e7..8583054c20 100644 --- a/src/Symfony/Component/Form/FormRegistry.php +++ b/src/Symfony/Component/Form/FormRegistry.php @@ -48,8 +48,7 @@ class FormRegistry implements FormRegistryInterface private $checkedTypes = []; /** - * @param FormExtensionInterface[] $extensions An array of FormExtensionInterface - * @param ResolvedFormTypeFactoryInterface $resolvedTypeFactory The factory for resolved form types + * @param FormExtensionInterface[] $extensions An array of FormExtensionInterface * * @throws UnexpectedTypeException if any extension does not implement FormExtensionInterface */ diff --git a/src/Symfony/Component/Form/FormTypeExtensionInterface.php b/src/Symfony/Component/Form/FormTypeExtensionInterface.php index fd842f8cfc..109cd7183b 100644 --- a/src/Symfony/Component/Form/FormTypeExtensionInterface.php +++ b/src/Symfony/Component/Form/FormTypeExtensionInterface.php @@ -50,11 +50,6 @@ interface FormTypeExtensionInterface */ public function finishView(FormView $view, FormInterface $form, array $options); - /** - * Configures the options for this type. - * - * @param OptionsResolver $resolver The resolver for the options - */ public function configureOptions(OptionsResolver $resolver); /** diff --git a/src/Symfony/Component/Form/FormTypeInterface.php b/src/Symfony/Component/Form/FormTypeInterface.php index 1e80f477ca..6850d54968 100644 --- a/src/Symfony/Component/Form/FormTypeInterface.php +++ b/src/Symfony/Component/Form/FormTypeInterface.php @@ -25,9 +25,6 @@ interface FormTypeInterface * top most type. Type extensions can further modify the form. * * @see FormTypeExtensionInterface::buildForm() - * - * @param FormBuilderInterface $builder The form builder - * @param array $options The options */ public function buildForm(FormBuilderInterface $builder, array $options); @@ -42,10 +39,6 @@ interface FormTypeInterface * to do so, move your logic to {@link finishView()} instead. * * @see FormTypeExtensionInterface::buildView() - * - * @param FormView $view The view - * @param FormInterface $form The form - * @param array $options The options */ public function buildView(FormView $view, FormInterface $form, array $options); @@ -61,17 +54,11 @@ interface FormTypeInterface * else you are recommended to implement {@link buildView()} instead. * * @see FormTypeExtensionInterface::finishView() - * - * @param FormView $view The view - * @param FormInterface $form The form - * @param array $options The options */ public function finishView(FormView $view, FormInterface $form, array $options); /** * Configures the options for this type. - * - * @param OptionsResolver $resolver The resolver for the options */ public function configureOptions(OptionsResolver $resolver); diff --git a/src/Symfony/Component/Form/PreloadedExtension.php b/src/Symfony/Component/Form/PreloadedExtension.php index 1e3f364831..2f1cc2377f 100644 --- a/src/Symfony/Component/Form/PreloadedExtension.php +++ b/src/Symfony/Component/Form/PreloadedExtension.php @@ -29,7 +29,6 @@ class PreloadedExtension implements FormExtensionInterface * * @param FormTypeInterface[] $types The types that the extension should support * @param FormTypeExtensionInterface[][] $typeExtensions The type extensions that the extension should support - * @param FormTypeGuesserInterface|null $typeGuesser The guesser that the extension should support */ public function __construct(array $types, array $typeExtensions, FormTypeGuesserInterface $typeGuesser = null) { diff --git a/src/Symfony/Component/Form/RequestHandlerInterface.php b/src/Symfony/Component/Form/RequestHandlerInterface.php index 3d7b45d506..65d86e2246 100644 --- a/src/Symfony/Component/Form/RequestHandlerInterface.php +++ b/src/Symfony/Component/Form/RequestHandlerInterface.php @@ -21,8 +21,7 @@ interface RequestHandlerInterface /** * Submits a form if it was submitted. * - * @param FormInterface $form The form to submit - * @param mixed $request The current request + * @param mixed $request The current request */ public function handleRequest(FormInterface $form, $request = null); diff --git a/src/Symfony/Component/Form/ResolvedFormType.php b/src/Symfony/Component/Form/ResolvedFormType.php index d7ab90ff18..6b3fb6837e 100644 --- a/src/Symfony/Component/Form/ResolvedFormType.php +++ b/src/Symfony/Component/Form/ResolvedFormType.php @@ -118,9 +118,6 @@ class ResolvedFormType implements ResolvedFormTypeInterface /** * Configures a form builder for the type hierarchy. - * - * @param FormBuilderInterface $builder The builder to configure - * @param array $options The options used for the configuration */ public function buildForm(FormBuilderInterface $builder, array $options) { @@ -139,10 +136,6 @@ class ResolvedFormType implements ResolvedFormTypeInterface * Configures a form view for the type hierarchy. * * This method is called before the children of the view are built. - * - * @param FormView $view The form view to configure - * @param FormInterface $form The form corresponding to the view - * @param array $options The options used for the configuration */ public function buildView(FormView $view, FormInterface $form, array $options) { @@ -161,10 +154,6 @@ class ResolvedFormType implements ResolvedFormTypeInterface * Finishes a form view for the type hierarchy. * * This method is called after the children of the view have been built. - * - * @param FormView $view The form view to configure - * @param FormInterface $form The form corresponding to the view - * @param array $options The options used for the configuration */ public function finishView(FormView $view, FormInterface $form, array $options) { @@ -209,10 +198,8 @@ class ResolvedFormType implements ResolvedFormTypeInterface * * Override this method if you want to customize the builder class. * - * @param string $name The name of the builder - * @param string|null $dataClass The data class - * @param FormFactoryInterface $factory The current form factory - * @param array $options The builder options + * @param string $name The name of the builder + * @param string|null $dataClass The data class * * @return FormBuilderInterface The new builder instance */ @@ -234,8 +221,6 @@ class ResolvedFormType implements ResolvedFormTypeInterface * * Override this method if you want to customize the view class. * - * @param FormView|null $parent The parent view, if available - * * @return FormView A new view instance */ protected function newView(FormView $parent = null) diff --git a/src/Symfony/Component/Form/ResolvedFormTypeFactoryInterface.php b/src/Symfony/Component/Form/ResolvedFormTypeFactoryInterface.php index 3240d77f4f..9b20b44027 100644 --- a/src/Symfony/Component/Form/ResolvedFormTypeFactoryInterface.php +++ b/src/Symfony/Component/Form/ResolvedFormTypeFactoryInterface.php @@ -25,9 +25,7 @@ interface ResolvedFormTypeFactoryInterface /** * Resolves a form type. * - * @param FormTypeInterface $type - * @param FormTypeExtensionInterface[] $typeExtensions - * @param ResolvedFormTypeInterface|null $parent + * @param FormTypeExtensionInterface[] $typeExtensions * * @return ResolvedFormTypeInterface * diff --git a/src/Symfony/Component/Form/ResolvedFormTypeInterface.php b/src/Symfony/Component/Form/ResolvedFormTypeInterface.php index c4ab1d6477..e38d160285 100644 --- a/src/Symfony/Component/Form/ResolvedFormTypeInterface.php +++ b/src/Symfony/Component/Form/ResolvedFormTypeInterface.php @@ -51,9 +51,7 @@ interface ResolvedFormTypeInterface /** * Creates a new form builder for this type. * - * @param FormFactoryInterface $factory The form factory - * @param string $name The name for the builder - * @param array $options The builder options + * @param string $name The name for the builder * * @return FormBuilderInterface The created form builder */ @@ -62,18 +60,12 @@ interface ResolvedFormTypeInterface /** * Creates a new form view for a form of this type. * - * @param FormInterface $form The form to create a view for - * @param FormView $parent The parent view or null - * * @return FormView The created form view */ public function createView(FormInterface $form, FormView $parent = null); /** * Configures a form builder for the type hierarchy. - * - * @param FormBuilderInterface $builder The builder to configure - * @param array $options The options used for the configuration */ public function buildForm(FormBuilderInterface $builder, array $options); @@ -81,10 +73,6 @@ interface ResolvedFormTypeInterface * Configures a form view for the type hierarchy. * * It is called before the children of the view are built. - * - * @param FormView $view The form view to configure - * @param FormInterface $form The form corresponding to the view - * @param array $options The options used for the configuration */ public function buildView(FormView $view, FormInterface $form, array $options); @@ -92,10 +80,6 @@ interface ResolvedFormTypeInterface * Finishes a form view for the type hierarchy. * * It is called after the children of the view have been built. - * - * @param FormView $view The form view to configure - * @param FormInterface $form The form corresponding to the view - * @param array $options The options used for the configuration */ public function finishView(FormView $view, FormInterface $form, array $options); diff --git a/src/Symfony/Component/Form/Tests/AbstractFormTest.php b/src/Symfony/Component/Form/Tests/AbstractFormTest.php index 4dc84e84e2..a5cea2671e 100644 --- a/src/Symfony/Component/Form/Tests/AbstractFormTest.php +++ b/src/Symfony/Component/Form/Tests/AbstractFormTest.php @@ -54,10 +54,9 @@ abstract class AbstractFormTest extends TestCase abstract protected function createForm(); /** - * @param string $name - * @param EventDispatcherInterface $dispatcher - * @param string|null $dataClass - * @param array $options + * @param string $name + * @param string|null $dataClass + * @param array $options * * @return FormBuilder */ diff --git a/src/Symfony/Component/HttpFoundation/Request.php b/src/Symfony/Component/HttpFoundation/Request.php index 089793ed3f..21f865215d 100644 --- a/src/Symfony/Component/HttpFoundation/Request.php +++ b/src/Symfony/Component/HttpFoundation/Request.php @@ -745,11 +745,6 @@ class Request return null !== $this->session; } - /** - * Sets the Session. - * - * @param SessionInterface $session The Session - */ public function setSession(SessionInterface $session) { $this->session = $session; diff --git a/src/Symfony/Component/HttpFoundation/Session/Storage/MockFileSessionStorage.php b/src/Symfony/Component/HttpFoundation/Session/Storage/MockFileSessionStorage.php index b0996abc50..7916fa8191 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Storage/MockFileSessionStorage.php +++ b/src/Symfony/Component/HttpFoundation/Session/Storage/MockFileSessionStorage.php @@ -27,9 +27,8 @@ class MockFileSessionStorage extends MockArraySessionStorage private $savePath; /** - * @param string $savePath Path of directory to save session files - * @param string $name Session name - * @param MetadataBag $metaBag MetadataBag instance + * @param string $savePath Path of directory to save session files + * @param string $name Session name */ public function __construct(string $savePath = null, string $name = 'MOCKSESSID', MetadataBag $metaBag = null) { diff --git a/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php b/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php index 9e03bfa41b..297b114a09 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php +++ b/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php @@ -99,7 +99,6 @@ class NativeSessionStorage implements SessionStorageInterface * * @param array $options Session configuration options * @param \SessionHandlerInterface|null $handler - * @param MetadataBag $metaBag MetadataBag */ public function __construct(array $options = [], $handler = null, MetadataBag $metaBag = null) { diff --git a/src/Symfony/Component/HttpFoundation/Session/Storage/PhpBridgeSessionStorage.php b/src/Symfony/Component/HttpFoundation/Session/Storage/PhpBridgeSessionStorage.php index 8969e609aa..f0fac5843a 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Storage/PhpBridgeSessionStorage.php +++ b/src/Symfony/Component/HttpFoundation/Session/Storage/PhpBridgeSessionStorage.php @@ -20,7 +20,6 @@ class PhpBridgeSessionStorage extends NativeSessionStorage { /** * @param \SessionHandlerInterface|null $handler - * @param MetadataBag $metaBag MetadataBag */ public function __construct($handler = null, MetadataBag $metaBag = null) { diff --git a/src/Symfony/Component/HttpKernel/Client.php b/src/Symfony/Component/HttpKernel/Client.php index d4ae5f8e65..da43837a1b 100644 --- a/src/Symfony/Component/HttpKernel/Client.php +++ b/src/Symfony/Component/HttpKernel/Client.php @@ -34,10 +34,7 @@ class Client extends AbstractBrowser private $catchExceptions = true; /** - * @param HttpKernelInterface $kernel An HttpKernel instance - * @param array $server The server parameters (equivalent of $_SERVER) - * @param History $history A History instance to store the browser history - * @param CookieJar $cookieJar A CookieJar instance to store the cookies + * @param array $server The server parameters (equivalent of $_SERVER) */ public function __construct(HttpKernelInterface $kernel, array $server = [], History $history = null, CookieJar $cookieJar = null) { diff --git a/src/Symfony/Component/HttpKernel/Controller/ArgumentResolverInterface.php b/src/Symfony/Component/HttpKernel/Controller/ArgumentResolverInterface.php index 5c51230966..ba97775a90 100644 --- a/src/Symfony/Component/HttpKernel/Controller/ArgumentResolverInterface.php +++ b/src/Symfony/Component/HttpKernel/Controller/ArgumentResolverInterface.php @@ -24,7 +24,6 @@ interface ArgumentResolverInterface /** * Returns the arguments to pass to the controller. * - * @param Request $request * @param callable $controller * * @return array An array of arguments to pass to the controller diff --git a/src/Symfony/Component/HttpKernel/Controller/ArgumentValueResolverInterface.php b/src/Symfony/Component/HttpKernel/Controller/ArgumentValueResolverInterface.php index 21d874364a..1317707b1d 100644 --- a/src/Symfony/Component/HttpKernel/Controller/ArgumentValueResolverInterface.php +++ b/src/Symfony/Component/HttpKernel/Controller/ArgumentValueResolverInterface.php @@ -24,9 +24,6 @@ interface ArgumentValueResolverInterface /** * Whether this resolver can resolve the value for the given ArgumentMetadata. * - * @param Request $request - * @param ArgumentMetadata $argument - * * @return bool */ public function supports(Request $request, ArgumentMetadata $argument); @@ -34,9 +31,6 @@ interface ArgumentValueResolverInterface /** * Returns the possible value(s). * - * @param Request $request - * @param ArgumentMetadata $argument - * * @return iterable */ public function resolve(Request $request, ArgumentMetadata $argument); diff --git a/src/Symfony/Component/HttpKernel/Event/KernelEvent.php b/src/Symfony/Component/HttpKernel/Event/KernelEvent.php index f3db8a60d9..f6dff06ac8 100644 --- a/src/Symfony/Component/HttpKernel/Event/KernelEvent.php +++ b/src/Symfony/Component/HttpKernel/Event/KernelEvent.php @@ -27,10 +27,8 @@ class KernelEvent extends Event private $requestType; /** - * @param HttpKernelInterface $kernel The kernel in which this event was thrown - * @param Request $request The request the kernel is currently processing - * @param int $requestType The request type the kernel is currently processing; one of - * HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST + * @param int $requestType The request type the kernel is currently processing; one of + * HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST */ public function __construct(HttpKernelInterface $kernel, Request $request, ?int $requestType) { diff --git a/src/Symfony/Component/HttpKernel/EventListener/DebugHandlersListener.php b/src/Symfony/Component/HttpKernel/EventListener/DebugHandlersListener.php index d9227d888b..182a53667c 100644 --- a/src/Symfony/Component/HttpKernel/EventListener/DebugHandlersListener.php +++ b/src/Symfony/Component/HttpKernel/EventListener/DebugHandlersListener.php @@ -51,7 +51,6 @@ class DebugHandlersListener implements EventSubscriberInterface /** * @param callable|null $exceptionHandler A handler that will be called on Exception - * @param LoggerInterface|null $logger A PSR-3 logger * @param array|int $levels An array map of E_* to LogLevel::* or an integer bit field of E_* constants * @param int|null $throwAt Thrown errors in a bit field of E_* constants, or null to keep the current value * @param bool $scream Enables/disables screaming mode, where even silenced errors are logged diff --git a/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php b/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php index 8abec7717f..ae64374c6e 100644 --- a/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php +++ b/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php @@ -47,10 +47,6 @@ class ExceptionListener implements EventSubscriberInterface $this->logException($event->getException(), sprintf('Uncaught PHP Exception %s: "%s" at %s line %s', $e->getClass(), $e->getMessage(), $e->getFile(), $e->getLine())); } - /** - * @param string $eventName - * @param EventDispatcherInterface $eventDispatcher - */ public function onKernelException(GetResponseForExceptionEvent $event) { if (null === $this->controller) { @@ -123,9 +119,6 @@ class ExceptionListener implements EventSubscriberInterface /** * Clones the request for the exception. * - * @param \Exception $exception The thrown exception - * @param Request $request The original request - * * @return Request The cloned request */ protected function duplicateRequest(\Exception $exception, Request $request) diff --git a/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php b/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php index 4e8f2d1ff8..2aa3ae5c49 100644 --- a/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php +++ b/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php @@ -52,7 +52,6 @@ class RouterListener implements EventSubscriberInterface /** * @param UrlMatcherInterface|RequestMatcherInterface $matcher The Url or Request matcher * @param RequestContext|null $context The RequestContext (can be null when $matcher implements RequestContextAwareInterface) - * @param LoggerInterface|null $logger The logger * @param string $projectDir * @param bool $debug * @@ -90,8 +89,6 @@ class RouterListener implements EventSubscriberInterface /** * After a sub-request is done, we need to reset the routing context to the parent request so that the URL generator * operates on the correct context again. - * - * @param FinishRequestEvent $event */ public function onKernelFinishRequest(FinishRequestEvent $event) { diff --git a/src/Symfony/Component/HttpKernel/Fragment/AbstractSurrogateFragmentRenderer.php b/src/Symfony/Component/HttpKernel/Fragment/AbstractSurrogateFragmentRenderer.php index adb1ec8227..f81199d883 100644 --- a/src/Symfony/Component/HttpKernel/Fragment/AbstractSurrogateFragmentRenderer.php +++ b/src/Symfony/Component/HttpKernel/Fragment/AbstractSurrogateFragmentRenderer.php @@ -33,7 +33,6 @@ abstract class AbstractSurrogateFragmentRenderer extends RoutableFragmentRendere * instance of InlineFragmentRenderer. * * @param FragmentRendererInterface $inlineStrategy The inline strategy to use when the surrogate is not supported - * @param UriSigner $signer */ public function __construct(SurrogateInterface $surrogate = null, FragmentRendererInterface $inlineStrategy, UriSigner $signer = null) { diff --git a/src/Symfony/Component/HttpKernel/Fragment/FragmentHandler.php b/src/Symfony/Component/HttpKernel/Fragment/FragmentHandler.php index 758f0e8fc1..46a2a116d9 100644 --- a/src/Symfony/Component/HttpKernel/Fragment/FragmentHandler.php +++ b/src/Symfony/Component/HttpKernel/Fragment/FragmentHandler.php @@ -33,9 +33,8 @@ class FragmentHandler private $requestStack; /** - * @param RequestStack $requestStack The Request stack that controls the lifecycle of requests - * @param FragmentRendererInterface[] $renderers An array of FragmentRendererInterface instances - * @param bool $debug Whether the debug mode is enabled or not + * @param FragmentRendererInterface[] $renderers An array of FragmentRendererInterface instances + * @param bool $debug Whether the debug mode is enabled or not */ public function __construct(RequestStack $requestStack, array $renderers = [], bool $debug = false) { diff --git a/src/Symfony/Component/HttpKernel/Fragment/HIncludeFragmentRenderer.php b/src/Symfony/Component/HttpKernel/Fragment/HIncludeFragmentRenderer.php index 08f7c167d5..24da9588cd 100644 --- a/src/Symfony/Component/HttpKernel/Fragment/HIncludeFragmentRenderer.php +++ b/src/Symfony/Component/HttpKernel/Fragment/HIncludeFragmentRenderer.php @@ -34,9 +34,7 @@ class HIncludeFragmentRenderer extends RoutableFragmentRenderer /** * @param EngineInterface|Environment $templating An EngineInterface or a Twig instance - * @param UriSigner $signer A UriSigner instance * @param string $globalDefaultTemplate The global default content (it can be a template name or the content) - * @param string $charset */ public function __construct($templating = null, UriSigner $signer = null, string $globalDefaultTemplate = null, string $charset = 'utf-8') { diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index e2a1520b66..83890876c5 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -716,10 +716,8 @@ abstract class Kernel implements KernelInterface, RebootableInterface, Terminabl /** * Dumps the service container to PHP code in the cache. * - * @param ConfigCache $cache The config cache - * @param ContainerBuilder $container The service container - * @param string $class The name of the class to generate - * @param string $baseClass The name of the container's base class + * @param string $class The name of the class to generate + * @param string $baseClass The name of the container's base class */ protected function dumpContainer(ConfigCache $cache, ContainerBuilder $container, $class, $baseClass) { diff --git a/src/Symfony/Component/Intl/Data/Bundle/Reader/BufferedBundleReader.php b/src/Symfony/Component/Intl/Data/Bundle/Reader/BufferedBundleReader.php index ae5a74a0ca..24d7f53cb7 100644 --- a/src/Symfony/Component/Intl/Data/Bundle/Reader/BufferedBundleReader.php +++ b/src/Symfony/Component/Intl/Data/Bundle/Reader/BufferedBundleReader.php @@ -26,8 +26,7 @@ class BufferedBundleReader implements BundleReaderInterface /** * Buffers a given reader. * - * @param BundleReaderInterface $reader The reader to buffer - * @param int $bufferSize The number of entries to store in the buffer + * @param int $bufferSize The number of entries to store in the buffer */ public function __construct(BundleReaderInterface $reader, int $bufferSize) { diff --git a/src/Symfony/Component/Intl/Data/Generator/AbstractDataGenerator.php b/src/Symfony/Component/Intl/Data/Generator/AbstractDataGenerator.php index f25f62d90c..82f0e5e1fd 100644 --- a/src/Symfony/Component/Intl/Data/Generator/AbstractDataGenerator.php +++ b/src/Symfony/Component/Intl/Data/Generator/AbstractDataGenerator.php @@ -91,8 +91,7 @@ abstract class AbstractDataGenerator } /** - * @param LocaleScanner $scanner - * @param string $sourceDir + * @param string $sourceDir * * @return string[] */ diff --git a/src/Symfony/Component/Intl/Data/Generator/GeneratorConfig.php b/src/Symfony/Component/Intl/Data/Generator/GeneratorConfig.php index b7b3095076..2ef2c80cbf 100644 --- a/src/Symfony/Component/Intl/Data/Generator/GeneratorConfig.php +++ b/src/Symfony/Component/Intl/Data/Generator/GeneratorConfig.php @@ -39,8 +39,7 @@ class GeneratorConfig /** * Adds a writer to be used during the data conversion. * - * @param string $targetDir The output directory - * @param BundleWriterInterface $writer The writer instance + * @param string $targetDir The output directory */ public function addBundleWriter($targetDir, BundleWriterInterface $writer) { diff --git a/src/Symfony/Component/Intl/Data/Provider/CurrencyDataProvider.php b/src/Symfony/Component/Intl/Data/Provider/CurrencyDataProvider.php index d09028938b..f4e32d1537 100644 --- a/src/Symfony/Component/Intl/Data/Provider/CurrencyDataProvider.php +++ b/src/Symfony/Component/Intl/Data/Provider/CurrencyDataProvider.php @@ -35,8 +35,7 @@ class CurrencyDataProvider * Creates a data provider that reads currency-related data from a * resource bundle. * - * @param string $path The path to the resource bundle - * @param BundleEntryReaderInterface $reader The reader for reading the resource bundle + * @param string $path The path to the resource bundle */ public function __construct(string $path, BundleEntryReaderInterface $reader) { diff --git a/src/Symfony/Component/Intl/Data/Provider/LanguageDataProvider.php b/src/Symfony/Component/Intl/Data/Provider/LanguageDataProvider.php index 0d1bfe61df..1fec3d9f2e 100644 --- a/src/Symfony/Component/Intl/Data/Provider/LanguageDataProvider.php +++ b/src/Symfony/Component/Intl/Data/Provider/LanguageDataProvider.php @@ -28,8 +28,7 @@ class LanguageDataProvider /** * Creates a data provider that reads locale-related data from .res files. * - * @param string $path The path to the directory containing the .res files - * @param BundleEntryReaderInterface $reader The reader for reading the .res files + * @param string $path The path to the directory containing the .res files */ public function __construct(string $path, BundleEntryReaderInterface $reader) { diff --git a/src/Symfony/Component/Intl/Data/Provider/LocaleDataProvider.php b/src/Symfony/Component/Intl/Data/Provider/LocaleDataProvider.php index fdabb689fb..e5e5e0096d 100644 --- a/src/Symfony/Component/Intl/Data/Provider/LocaleDataProvider.php +++ b/src/Symfony/Component/Intl/Data/Provider/LocaleDataProvider.php @@ -28,8 +28,7 @@ class LocaleDataProvider /** * Creates a data provider that reads locale-related data from .res files. * - * @param string $path The path to the directory containing the .res files - * @param BundleEntryReaderInterface $reader The reader for reading the .res files + * @param string $path The path to the directory containing the .res files */ public function __construct(string $path, BundleEntryReaderInterface $reader) { diff --git a/src/Symfony/Component/Intl/Data/Provider/RegionDataProvider.php b/src/Symfony/Component/Intl/Data/Provider/RegionDataProvider.php index 8815294401..07592a27d9 100644 --- a/src/Symfony/Component/Intl/Data/Provider/RegionDataProvider.php +++ b/src/Symfony/Component/Intl/Data/Provider/RegionDataProvider.php @@ -28,8 +28,7 @@ class RegionDataProvider /** * Creates a data provider that reads locale-related data from .res files. * - * @param string $path The path to the directory containing the .res files - * @param BundleEntryReaderInterface $reader The reader for reading the .res files + * @param string $path The path to the directory containing the .res files */ public function __construct(string $path, BundleEntryReaderInterface $reader) { diff --git a/src/Symfony/Component/Intl/Data/Provider/ScriptDataProvider.php b/src/Symfony/Component/Intl/Data/Provider/ScriptDataProvider.php index 08bc379726..ecd2d0aa67 100644 --- a/src/Symfony/Component/Intl/Data/Provider/ScriptDataProvider.php +++ b/src/Symfony/Component/Intl/Data/Provider/ScriptDataProvider.php @@ -28,8 +28,7 @@ class ScriptDataProvider /** * Creates a data provider that reads locale-related data from .res files. * - * @param string $path The path to the directory containing the .res files - * @param BundleEntryReaderInterface $reader The reader for reading the .res files + * @param string $path The path to the directory containing the .res files */ public function __construct(string $path, BundleEntryReaderInterface $reader) { diff --git a/src/Symfony/Component/Ldap/Adapter/EntryManagerInterface.php b/src/Symfony/Component/Ldap/Adapter/EntryManagerInterface.php index 2ca5706ca0..5fde91e8d7 100644 --- a/src/Symfony/Component/Ldap/Adapter/EntryManagerInterface.php +++ b/src/Symfony/Component/Ldap/Adapter/EntryManagerInterface.php @@ -31,8 +31,6 @@ interface EntryManagerInterface /** * Adds a new entry in the Ldap server. * - * @param Entry $entry - * * @throws NotBoundException * @throws LdapException */ @@ -41,8 +39,6 @@ interface EntryManagerInterface /** * Updates an entry from the Ldap server. * - * @param Entry $entry - * * @throws NotBoundException * @throws LdapException */ @@ -51,7 +47,6 @@ interface EntryManagerInterface /** * Renames an entry on the Ldap server. * - * @param Entry $entry * @param string $newRdn * @param bool $removeOldRdn */ @@ -60,8 +55,6 @@ interface EntryManagerInterface /** * Removes an entry from the Ldap server. * - * @param Entry $entry - * * @throws NotBoundException * @throws LdapException */ diff --git a/src/Symfony/Component/Lock/Lock.php b/src/Symfony/Component/Lock/Lock.php index 534508bfc4..8a61bf6f7b 100644 --- a/src/Symfony/Component/Lock/Lock.php +++ b/src/Symfony/Component/Lock/Lock.php @@ -37,10 +37,8 @@ final class Lock implements LockInterface, LoggerAwareInterface private $dirty = false; /** - * @param Key $key Resource to lock - * @param PersistingStoreInterface $store Store used to handle lock persistence - * @param float|null $ttl Maximum expected lock duration in seconds - * @param bool $autoRelease Whether to automatically release the lock or not when the lock instance is destroyed + * @param float|null $ttl Maximum expected lock duration in seconds + * @param bool $autoRelease Whether to automatically release the lock or not when the lock instance is destroyed */ public function __construct(Key $key, PersistingStoreInterface $store, float $ttl = null, bool $autoRelease = true) { diff --git a/src/Symfony/Component/Lock/Store/CombinedStore.php b/src/Symfony/Component/Lock/Store/CombinedStore.php index c66e454015..3553d6ffb7 100644 --- a/src/Symfony/Component/Lock/Store/CombinedStore.php +++ b/src/Symfony/Component/Lock/Store/CombinedStore.php @@ -38,8 +38,7 @@ class CombinedStore implements StoreInterface, LoggerAwareInterface private $strategy; /** - * @param PersistingStoreInterface[] $stores The list of synchronized stores - * @param StrategyInterface $strategy + * @param PersistingStoreInterface[] $stores The list of synchronized stores * * @throws InvalidArgumentException */ diff --git a/src/Symfony/Component/Lock/Store/RetryTillSaveStore.php b/src/Symfony/Component/Lock/Store/RetryTillSaveStore.php index 9a412810c2..a79b1c7373 100644 --- a/src/Symfony/Component/Lock/Store/RetryTillSaveStore.php +++ b/src/Symfony/Component/Lock/Store/RetryTillSaveStore.php @@ -35,9 +35,8 @@ class RetryTillSaveStore implements BlockingStoreInterface, StoreInterface, Logg private $retryCount; /** - * @param PersistingStoreInterface $decorated The decorated PersistingStoreInterface - * @param int $retrySleep Duration in ms between 2 retry - * @param int $retryCount Maximum amount of retry + * @param int $retrySleep Duration in ms between 2 retry + * @param int $retryCount Maximum amount of retry */ public function __construct(PersistingStoreInterface $decorated, int $retrySleep = 100, int $retryCount = PHP_INT_MAX) { diff --git a/src/Symfony/Component/Messenger/RoutableMessageBus.php b/src/Symfony/Component/Messenger/RoutableMessageBus.php index 645358224a..b9e73d3949 100644 --- a/src/Symfony/Component/Messenger/RoutableMessageBus.php +++ b/src/Symfony/Component/Messenger/RoutableMessageBus.php @@ -29,9 +29,6 @@ class RoutableMessageBus implements MessageBusInterface private $busLocator; private $fallbackBus; - /** - * @param ContainerInterface $busLocator A locator full of MessageBusInterface objects - */ public function __construct(ContainerInterface $busLocator, MessageBusInterface $fallbackBus = null) { $this->busLocator = $busLocator; diff --git a/src/Symfony/Component/PropertyAccess/Exception/UnexpectedTypeException.php b/src/Symfony/Component/PropertyAccess/Exception/UnexpectedTypeException.php index a7311329a8..78bc416735 100644 --- a/src/Symfony/Component/PropertyAccess/Exception/UnexpectedTypeException.php +++ b/src/Symfony/Component/PropertyAccess/Exception/UnexpectedTypeException.php @@ -21,9 +21,8 @@ use Symfony\Component\PropertyAccess\PropertyPathInterface; class UnexpectedTypeException extends RuntimeException { /** - * @param mixed $value The unexpected value found while traversing property path - * @param PropertyPathInterface $path The property path - * @param int $pathIndex The property path index when the unexpected value was found + * @param mixed $value The unexpected value found while traversing property path + * @param int $pathIndex The property path index when the unexpected value was found */ public function __construct($value, PropertyPathInterface $path, int $pathIndex) { diff --git a/src/Symfony/Component/PropertyAccess/PropertyAccessor.php b/src/Symfony/Component/PropertyAccess/PropertyAccessor.php index 89da6a019d..6fe3dd87ac 100644 --- a/src/Symfony/Component/PropertyAccess/PropertyAccessor.php +++ b/src/Symfony/Component/PropertyAccess/PropertyAccessor.php @@ -841,10 +841,9 @@ class PropertyAccessor implements PropertyAccessorInterface /** * Creates the APCu adapter if applicable. * - * @param string $namespace - * @param int $defaultLifetime - * @param string $version - * @param LoggerInterface|null $logger + * @param string $namespace + * @param int $defaultLifetime + * @param string $version * * @return AdapterInterface * diff --git a/src/Symfony/Component/PropertyAccess/PropertyAccessorBuilder.php b/src/Symfony/Component/PropertyAccess/PropertyAccessorBuilder.php index a300bdc6f5..94aa4ecc35 100644 --- a/src/Symfony/Component/PropertyAccess/PropertyAccessorBuilder.php +++ b/src/Symfony/Component/PropertyAccess/PropertyAccessorBuilder.php @@ -138,8 +138,6 @@ class PropertyAccessorBuilder /** * Sets a cache system. * - * @param CacheItemPoolInterface|null $cacheItemPool - * * @return PropertyAccessorBuilder The builder object */ public function setCacheItemPool(CacheItemPoolInterface $cacheItemPool = null) diff --git a/src/Symfony/Component/PropertyAccess/PropertyPathIterator.php b/src/Symfony/Component/PropertyAccess/PropertyPathIterator.php index 02fa26e1fc..3445db2cb0 100644 --- a/src/Symfony/Component/PropertyAccess/PropertyPathIterator.php +++ b/src/Symfony/Component/PropertyAccess/PropertyPathIterator.php @@ -21,9 +21,6 @@ class PropertyPathIterator extends \ArrayIterator implements PropertyPathIterato { protected $path; - /** - * @param PropertyPathInterface $path The property path to traverse - */ public function __construct(PropertyPathInterface $path) { parent::__construct($path->getElements()); diff --git a/src/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.php b/src/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.php index d4060f4fa4..0b3648196d 100644 --- a/src/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.php +++ b/src/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.php @@ -52,10 +52,9 @@ class PhpDocExtractor implements PropertyDescriptionExtractorInterface, Property private $arrayMutatorPrefixes; /** - * @param DocBlockFactoryInterface $docBlockFactory - * @param string[]|null $mutatorPrefixes - * @param string[]|null $accessorPrefixes - * @param string[]|null $arrayMutatorPrefixes + * @param string[]|null $mutatorPrefixes + * @param string[]|null $accessorPrefixes + * @param string[]|null $arrayMutatorPrefixes */ public function __construct(DocBlockFactoryInterface $docBlockFactory = null, array $mutatorPrefixes = null, array $accessorPrefixes = null, array $arrayMutatorPrefixes = null) { diff --git a/src/Symfony/Component/Routing/Loader/XmlFileLoader.php b/src/Symfony/Component/Routing/Loader/XmlFileLoader.php index 268838cdef..19c75ef12d 100644 --- a/src/Symfony/Component/Routing/Loader/XmlFileLoader.php +++ b/src/Symfony/Component/Routing/Loader/XmlFileLoader.php @@ -63,10 +63,9 @@ class XmlFileLoader extends FileLoader /** * Parses a node from a loaded XML file. * - * @param RouteCollection $collection Collection to associate with the node - * @param \DOMElement $node Element to parse - * @param string $path Full path of the XML file being processed - * @param string $file Loaded file name + * @param \DOMElement $node Element to parse + * @param string $path Full path of the XML file being processed + * @param string $file Loaded file name * * @throws \InvalidArgumentException When the XML is invalid */ @@ -99,9 +98,8 @@ class XmlFileLoader extends FileLoader /** * Parses a route and adds it to the RouteCollection. * - * @param RouteCollection $collection RouteCollection instance - * @param \DOMElement $node Element to parse that represents a Route - * @param string $path Full path of the XML file being processed + * @param \DOMElement $node Element to parse that represents a Route + * @param string $path Full path of the XML file being processed * * @throws \InvalidArgumentException When the XML is invalid */ @@ -140,10 +138,9 @@ class XmlFileLoader extends FileLoader /** * Parses an import and adds the routes in the resource to the RouteCollection. * - * @param RouteCollection $collection RouteCollection instance - * @param \DOMElement $node Element to parse that represents a Route - * @param string $path Full path of the XML file being processed - * @param string $file Loaded file name + * @param \DOMElement $node Element to parse that represents a Route + * @param string $path Full path of the XML file being processed + * @param string $file Loaded file name * * @throws \InvalidArgumentException When the XML is invalid */ diff --git a/src/Symfony/Component/Routing/Matcher/UrlMatcher.php b/src/Symfony/Component/Routing/Matcher/UrlMatcher.php index dca1d6366f..d40deff709 100644 --- a/src/Symfony/Component/Routing/Matcher/UrlMatcher.php +++ b/src/Symfony/Component/Routing/Matcher/UrlMatcher.php @@ -120,8 +120,7 @@ class UrlMatcher implements UrlMatcherInterface, RequestMatcherInterface /** * Tries to match a URL with a set of routes. * - * @param string $pathinfo The path info to be parsed - * @param RouteCollection $routes The set of routes + * @param string $pathinfo The path info to be parsed * * @return array An array of parameters * @@ -208,7 +207,6 @@ class UrlMatcher implements UrlMatcherInterface, RequestMatcherInterface * in matchers that do not have access to the matched Route instance * (like the PHP and Apache matcher dumpers). * - * @param Route $route The route we are matching against * @param string $name The name of the route * @param array $attributes An array of attributes from the matcher * @@ -231,7 +229,6 @@ class UrlMatcher implements UrlMatcherInterface, RequestMatcherInterface * * @param string $pathinfo The path * @param string $name The route name - * @param Route $route The route * * @return array The first element represents the status, the second contains additional information */ diff --git a/src/Symfony/Component/Routing/Route.php b/src/Symfony/Component/Routing/Route.php index 4cb0b178bd..51785fda9d 100644 --- a/src/Symfony/Component/Routing/Route.php +++ b/src/Symfony/Component/Routing/Route.php @@ -267,8 +267,6 @@ class Route implements \Serializable * * This method implements a fluent interface. * - * @param array $options The options - * * @return $this */ public function setOptions(array $options) @@ -285,8 +283,6 @@ class Route implements \Serializable * * This method implements a fluent interface. * - * @param array $options The options - * * @return $this */ public function addOptions(array $options) diff --git a/src/Symfony/Component/Routing/RouteCollection.php b/src/Symfony/Component/Routing/RouteCollection.php index 76b1a84d9c..54ccad805d 100644 --- a/src/Symfony/Component/Routing/RouteCollection.php +++ b/src/Symfony/Component/Routing/RouteCollection.php @@ -69,8 +69,7 @@ class RouteCollection implements \IteratorAggregate, \Countable /** * Adds a route. * - * @param string $name The route name - * @param Route $route A Route instance + * @param string $name The route name */ public function add($name, Route $route) { diff --git a/src/Symfony/Component/Routing/RouteCollectionBuilder.php b/src/Symfony/Component/Routing/RouteCollectionBuilder.php index 86013a3fa3..92cf7e7938 100644 --- a/src/Symfony/Component/Routing/RouteCollectionBuilder.php +++ b/src/Symfony/Component/Routing/RouteCollectionBuilder.php @@ -115,8 +115,7 @@ class RouteCollectionBuilder /** * Add a RouteCollectionBuilder. * - * @param string $prefix - * @param RouteCollectionBuilder $builder + * @param string $prefix */ public function mount($prefix, self $builder) { @@ -127,7 +126,6 @@ class RouteCollectionBuilder /** * Adds a Route object to the builder. * - * @param Route $route * @param string|null $name * * @return $this diff --git a/src/Symfony/Component/Security/Core/Authentication/AuthenticationManagerInterface.php b/src/Symfony/Component/Security/Core/Authentication/AuthenticationManagerInterface.php index c97d747d42..6237f79aa1 100644 --- a/src/Symfony/Component/Security/Core/Authentication/AuthenticationManagerInterface.php +++ b/src/Symfony/Component/Security/Core/Authentication/AuthenticationManagerInterface.php @@ -25,8 +25,6 @@ interface AuthenticationManagerInterface /** * Attempts to authenticate a TokenInterface object. * - * @param TokenInterface $token The TokenInterface instance to authenticate - * * @return TokenInterface An authenticated TokenInterface instance, never null * * @throws AuthenticationException if the authentication fails diff --git a/src/Symfony/Component/Security/Core/Authentication/Provider/UserAuthenticationProvider.php b/src/Symfony/Component/Security/Core/Authentication/Provider/UserAuthenticationProvider.php index 16769aa19f..9912259b39 100644 --- a/src/Symfony/Component/Security/Core/Authentication/Provider/UserAuthenticationProvider.php +++ b/src/Symfony/Component/Security/Core/Authentication/Provider/UserAuthenticationProvider.php @@ -128,8 +128,7 @@ abstract class UserAuthenticationProvider implements AuthenticationProviderInter /** * Retrieves the user from an implementation-specific location. * - * @param string $username The username to retrieve - * @param UsernamePasswordToken $token The Token + * @param string $username The username to retrieve * * @return UserInterface The user * diff --git a/src/Symfony/Component/Security/Core/Authentication/Token/RememberMeToken.php b/src/Symfony/Component/Security/Core/Authentication/Token/RememberMeToken.php index 766201ecf1..9c225b6038 100644 --- a/src/Symfony/Component/Security/Core/Authentication/Token/RememberMeToken.php +++ b/src/Symfony/Component/Security/Core/Authentication/Token/RememberMeToken.php @@ -24,9 +24,8 @@ class RememberMeToken extends AbstractToken private $providerKey; /** - * @param UserInterface $user - * @param string $providerKey - * @param string $secret A secret used to make sure the token is created by the app and not by a malicious client + * @param string $providerKey + * @param string $secret A secret used to make sure the token is created by the app and not by a malicious client * * @throws \InvalidArgumentException */ diff --git a/src/Symfony/Component/Security/Core/Authentication/Token/SwitchUserToken.php b/src/Symfony/Component/Security/Core/Authentication/Token/SwitchUserToken.php index ec98f04cfe..4177cee658 100644 --- a/src/Symfony/Component/Security/Core/Authentication/Token/SwitchUserToken.php +++ b/src/Symfony/Component/Security/Core/Authentication/Token/SwitchUserToken.php @@ -21,11 +21,10 @@ class SwitchUserToken extends UsernamePasswordToken private $originalToken; /** - * @param string|object $user The username (like a nickname, email address, etc.), or a UserInterface instance or an object implementing a __toString method - * @param mixed $credentials This usually is the password of the user - * @param string $providerKey The provider key - * @param string[] $roles An array of roles - * @param TokenInterface $originalToken The token of the user who switched to the current user + * @param string|object $user The username (like a nickname, email address, etc.), or a UserInterface instance or an object implementing a __toString method + * @param mixed $credentials This usually is the password of the user + * @param string $providerKey The provider key + * @param string[] $roles An array of roles * * @throws \InvalidArgumentException */ diff --git a/src/Symfony/Component/Security/Core/Authorization/TraceableAccessDecisionManager.php b/src/Symfony/Component/Security/Core/Authorization/TraceableAccessDecisionManager.php index 319d2d866c..88ec27afd6 100644 --- a/src/Symfony/Component/Security/Core/Authorization/TraceableAccessDecisionManager.php +++ b/src/Symfony/Component/Security/Core/Authorization/TraceableAccessDecisionManager.php @@ -70,9 +70,8 @@ class TraceableAccessDecisionManager implements AccessDecisionManagerInterface /** * Adds voter vote and class to the voter details. * - * @param VoterInterface $voter voter - * @param array $attributes attributes used for the vote - * @param int $vote vote of the voter + * @param array $attributes attributes used for the vote + * @param int $vote vote of the voter */ public function addVoterVote(VoterInterface $voter, array $attributes, int $vote) { diff --git a/src/Symfony/Component/Security/Core/Authorization/Voter/Voter.php b/src/Symfony/Component/Security/Core/Authorization/Voter/Voter.php index 0641486b7a..6665753fe1 100644 --- a/src/Symfony/Component/Security/Core/Authorization/Voter/Voter.php +++ b/src/Symfony/Component/Security/Core/Authorization/Voter/Voter.php @@ -60,9 +60,8 @@ abstract class Voter implements VoterInterface * Perform a single access check operation on a given attribute, subject and token. * It is safe to assume that $attribute and $subject already passed the "supports()" method check. * - * @param string $attribute - * @param mixed $subject - * @param TokenInterface $token + * @param string $attribute + * @param mixed $subject * * @return bool */ diff --git a/src/Symfony/Component/Security/Core/Encoder/UserPasswordEncoderInterface.php b/src/Symfony/Component/Security/Core/Encoder/UserPasswordEncoderInterface.php index 99508462fc..61f006cc1f 100644 --- a/src/Symfony/Component/Security/Core/Encoder/UserPasswordEncoderInterface.php +++ b/src/Symfony/Component/Security/Core/Encoder/UserPasswordEncoderInterface.php @@ -25,16 +25,14 @@ interface UserPasswordEncoderInterface /** * Encodes the plain password. * - * @param UserInterface $user The user - * @param string $plainPassword The password to encode + * @param string $plainPassword The password to encode * * @return string The encoded password */ public function encodePassword(UserInterface $user, $plainPassword); /** - * @param UserInterface $user The user - * @param string $raw A raw password + * @param string $raw A raw password * * @return bool true if the password is valid, false otherwise */ diff --git a/src/Symfony/Component/Security/Core/Role/SwitchUserRole.php b/src/Symfony/Component/Security/Core/Role/SwitchUserRole.php index 85d7ddb1a5..42c515fbdd 100644 --- a/src/Symfony/Component/Security/Core/Role/SwitchUserRole.php +++ b/src/Symfony/Component/Security/Core/Role/SwitchUserRole.php @@ -27,8 +27,7 @@ class SwitchUserRole extends Role private $source; /** - * @param string $role The role as a string - * @param TokenInterface $source The original token + * @param string $role The role as a string */ public function __construct(string $role, TokenInterface $source) { diff --git a/src/Symfony/Component/Security/Csrf/TokenStorage/SessionTokenStorage.php b/src/Symfony/Component/Security/Csrf/TokenStorage/SessionTokenStorage.php index 67f93ec672..4c093fbac1 100644 --- a/src/Symfony/Component/Security/Csrf/TokenStorage/SessionTokenStorage.php +++ b/src/Symfony/Component/Security/Csrf/TokenStorage/SessionTokenStorage.php @@ -32,8 +32,7 @@ class SessionTokenStorage implements ClearableTokenStorageInterface /** * Initializes the storage with a Session object and a session namespace. * - * @param SessionInterface $session The user session from which the session ID is returned - * @param string $namespace The namespace under which the token is stored in the session + * @param string $namespace The namespace under which the token is stored in the session */ public function __construct(SessionInterface $session, string $namespace = self::SESSION_NAMESPACE) { diff --git a/src/Symfony/Component/Security/Guard/AuthenticatorInterface.php b/src/Symfony/Component/Security/Guard/AuthenticatorInterface.php index 3ff5b13b83..3c695a45ab 100644 --- a/src/Symfony/Component/Security/Guard/AuthenticatorInterface.php +++ b/src/Symfony/Component/Security/Guard/AuthenticatorInterface.php @@ -72,8 +72,7 @@ interface AuthenticatorInterface extends AuthenticationEntryPointInterface * You may throw an AuthenticationException if you wish. If you return * null, then a UsernameNotFoundException is thrown for you. * - * @param mixed $credentials - * @param UserProviderInterface $userProvider + * @param mixed $credentials * * @throws AuthenticationException * @@ -90,8 +89,7 @@ interface AuthenticatorInterface extends AuthenticationEntryPointInterface * * The *credentials* are the return value from getCredentials() * - * @param mixed $credentials - * @param UserInterface $user + * @param mixed $credentials * * @return bool * @@ -108,8 +106,7 @@ interface AuthenticatorInterface extends AuthenticationEntryPointInterface * * @see AbstractGuardAuthenticator * - * @param UserInterface $user - * @param string $providerKey The provider (i.e. firewall) key + * @param string $providerKey The provider (i.e. firewall) key * * @return GuardTokenInterface */ @@ -124,9 +121,6 @@ interface AuthenticatorInterface extends AuthenticationEntryPointInterface * If you return null, the request will continue, but the user will * not be authenticated. This is probably not what you want to do. * - * @param Request $request - * @param AuthenticationException $exception - * * @return Response|null */ public function onAuthenticationFailure(Request $request, AuthenticationException $exception); @@ -140,9 +134,7 @@ interface AuthenticatorInterface extends AuthenticationEntryPointInterface * If you return null, the current request will continue, and the user * will be authenticated. This makes sense, for example, with an API. * - * @param Request $request - * @param TokenInterface $token - * @param string $providerKey The provider (i.e. firewall) key + * @param string $providerKey The provider (i.e. firewall) key * * @return Response|null */ diff --git a/src/Symfony/Component/Security/Guard/Token/PostAuthenticationGuardToken.php b/src/Symfony/Component/Security/Guard/Token/PostAuthenticationGuardToken.php index 245ce24107..1c58199c5b 100644 --- a/src/Symfony/Component/Security/Guard/Token/PostAuthenticationGuardToken.php +++ b/src/Symfony/Component/Security/Guard/Token/PostAuthenticationGuardToken.php @@ -27,9 +27,8 @@ class PostAuthenticationGuardToken extends AbstractToken implements GuardTokenIn private $providerKey; /** - * @param UserInterface $user The user! - * @param string $providerKey The provider (firewall) key - * @param string[] $roles An array of roles + * @param string $providerKey The provider (firewall) key + * @param string[] $roles An array of roles * * @throws \InvalidArgumentException */ diff --git a/src/Symfony/Component/Security/Http/Authentication/DefaultAuthenticationSuccessHandler.php b/src/Symfony/Component/Security/Http/Authentication/DefaultAuthenticationSuccessHandler.php index 8b65dc9ee5..f0580320f4 100644 --- a/src/Symfony/Component/Security/Http/Authentication/DefaultAuthenticationSuccessHandler.php +++ b/src/Symfony/Component/Security/Http/Authentication/DefaultAuthenticationSuccessHandler.php @@ -40,8 +40,7 @@ class DefaultAuthenticationSuccessHandler implements AuthenticationSuccessHandle ]; /** - * @param HttpUtils $httpUtils - * @param array $options Options for processing a successful authentication attempt + * @param array $options Options for processing a successful authentication attempt */ public function __construct(HttpUtils $httpUtils, array $options = []) { diff --git a/src/Symfony/Component/Security/Http/Authentication/SimpleAuthenticationHandler.php b/src/Symfony/Component/Security/Http/Authentication/SimpleAuthenticationHandler.php index e03a5e608d..86ac918e0d 100644 --- a/src/Symfony/Component/Security/Http/Authentication/SimpleAuthenticationHandler.php +++ b/src/Symfony/Component/Security/Http/Authentication/SimpleAuthenticationHandler.php @@ -38,12 +38,6 @@ class SimpleAuthenticationHandler implements AuthenticationFailureHandlerInterfa protected $simpleAuthenticator; protected $logger; - /** - * @param SimpleAuthenticatorInterface $authenticator SimpleAuthenticatorInterface instance - * @param AuthenticationSuccessHandlerInterface $successHandler Default success handler - * @param AuthenticationFailureHandlerInterface $failureHandler Default failure handler - * @param LoggerInterface $logger Optional logger - */ public function __construct(SimpleAuthenticatorInterface $authenticator, AuthenticationSuccessHandlerInterface $successHandler, AuthenticationFailureHandlerInterface $failureHandler, LoggerInterface $logger = null) { $this->simpleAuthenticator = $authenticator; diff --git a/src/Symfony/Component/Security/Http/EntryPoint/AuthenticationEntryPointInterface.php b/src/Symfony/Component/Security/Http/EntryPoint/AuthenticationEntryPointInterface.php index c37a0e4875..91271d14a3 100644 --- a/src/Symfony/Component/Security/Http/EntryPoint/AuthenticationEntryPointInterface.php +++ b/src/Symfony/Component/Security/Http/EntryPoint/AuthenticationEntryPointInterface.php @@ -40,9 +40,6 @@ interface AuthenticationEntryPointInterface * * return new Response('Auth header required', 401); * - * @param Request $request The request that resulted in an AuthenticationException - * @param AuthenticationException $authException The exception that started the authentication process - * * @return Response */ public function start(Request $request, AuthenticationException $authException = null); diff --git a/src/Symfony/Component/Security/Http/HttpUtils.php b/src/Symfony/Component/Security/Http/HttpUtils.php index 5dbc928db0..b6903d8de5 100644 --- a/src/Symfony/Component/Security/Http/HttpUtils.php +++ b/src/Symfony/Component/Security/Http/HttpUtils.php @@ -73,8 +73,7 @@ class HttpUtils /** * Creates a Request. * - * @param Request $request The current Request instance - * @param string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo)) + * @param string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo)) * * @return Request A Request instance */ diff --git a/src/Symfony/Component/Security/Http/Logout/LogoutUrlGenerator.php b/src/Symfony/Component/Security/Http/Logout/LogoutUrlGenerator.php index 6134858e16..f66f558ebe 100644 --- a/src/Symfony/Component/Security/Http/Logout/LogoutUrlGenerator.php +++ b/src/Symfony/Component/Security/Http/Logout/LogoutUrlGenerator.php @@ -41,12 +41,11 @@ class LogoutUrlGenerator /** * Registers a firewall's LogoutListener, allowing its URL to be generated. * - * @param string $key The firewall key - * @param string $logoutPath The path that starts the logout process - * @param string $csrfTokenId The ID of the CSRF token - * @param string $csrfParameter The CSRF token parameter name - * @param CsrfTokenManagerInterface|null $csrfTokenManager A CsrfTokenManagerInterface instance - * @param string|null $context The listener context + * @param string $key The firewall key + * @param string $logoutPath The path that starts the logout process + * @param string $csrfTokenId The ID of the CSRF token + * @param string $csrfParameter The CSRF token parameter name + * @param string|null $context The listener context */ public function registerListener($key, $logoutPath, $csrfTokenId, $csrfParameter, CsrfTokenManagerInterface $csrfTokenManager = null, string $context = null) { diff --git a/src/Symfony/Component/Security/Http/ParameterBagUtils.php b/src/Symfony/Component/Security/Http/ParameterBagUtils.php index eed5421f8f..c303384418 100644 --- a/src/Symfony/Component/Security/Http/ParameterBagUtils.php +++ b/src/Symfony/Component/Security/Http/ParameterBagUtils.php @@ -29,8 +29,7 @@ final class ParameterBagUtils * * Paths like foo[bar] will be evaluated to find deeper items in nested data structures. * - * @param ParameterBag $parameters The parameter bag - * @param string $path The key + * @param string $path The key * * @return mixed * @@ -64,8 +63,7 @@ final class ParameterBagUtils * * Paths like foo[bar] will be evaluated to find deeper items in nested data structures. * - * @param Request $request The request - * @param string $path The key + * @param string $path The key * * @return mixed * diff --git a/src/Symfony/Component/Serializer/Mapping/ClassMetadata.php b/src/Symfony/Component/Serializer/Mapping/ClassMetadata.php index 6d1d8cf7ab..0d71c75fa2 100644 --- a/src/Symfony/Component/Serializer/Mapping/ClassMetadata.php +++ b/src/Symfony/Component/Serializer/Mapping/ClassMetadata.php @@ -51,8 +51,7 @@ class ClassMetadata implements ClassMetadataInterface /** * Constructs a metadata for the given class. * - * @param string $class - * @param ClassDiscriminatorMapping|null $classDiscriminatorMapping + * @param string $class */ public function __construct(string $class, ClassDiscriminatorMapping $classDiscriminatorMapping = null) { diff --git a/src/Symfony/Component/Serializer/Mapping/ClassMetadataInterface.php b/src/Symfony/Component/Serializer/Mapping/ClassMetadataInterface.php index 45ed03dfa1..a8c6d02fe5 100644 --- a/src/Symfony/Component/Serializer/Mapping/ClassMetadataInterface.php +++ b/src/Symfony/Component/Serializer/Mapping/ClassMetadataInterface.php @@ -60,8 +60,5 @@ interface ClassMetadataInterface */ public function getClassDiscriminatorMapping(); - /** - * @param ClassDiscriminatorMapping|null $mapping - */ public function setClassDiscriminatorMapping(ClassDiscriminatorMapping $mapping = null); } diff --git a/src/Symfony/Component/Serializer/Normalizer/DenormalizerAwareInterface.php b/src/Symfony/Component/Serializer/Normalizer/DenormalizerAwareInterface.php index 4a6a4e26e9..87bfb84229 100644 --- a/src/Symfony/Component/Serializer/Normalizer/DenormalizerAwareInterface.php +++ b/src/Symfony/Component/Serializer/Normalizer/DenormalizerAwareInterface.php @@ -20,8 +20,6 @@ interface DenormalizerAwareInterface { /** * Sets the owning Denormalizer object. - * - * @param DenormalizerInterface $denormalizer */ public function setDenormalizer(DenormalizerInterface $denormalizer); } diff --git a/src/Symfony/Component/Serializer/Normalizer/NormalizerAwareInterface.php b/src/Symfony/Component/Serializer/Normalizer/NormalizerAwareInterface.php index 55015fe665..be380912b1 100644 --- a/src/Symfony/Component/Serializer/Normalizer/NormalizerAwareInterface.php +++ b/src/Symfony/Component/Serializer/Normalizer/NormalizerAwareInterface.php @@ -20,8 +20,6 @@ interface NormalizerAwareInterface { /** * Sets the owning Normalizer object. - * - * @param NormalizerInterface $normalizer */ public function setNormalizer(NormalizerInterface $normalizer); } diff --git a/src/Symfony/Component/Templating/Loader/CacheLoader.php b/src/Symfony/Component/Templating/Loader/CacheLoader.php index 21849374c4..ce6a678e79 100644 --- a/src/Symfony/Component/Templating/Loader/CacheLoader.php +++ b/src/Symfony/Component/Templating/Loader/CacheLoader.php @@ -80,8 +80,7 @@ class CacheLoader extends Loader /** * Returns true if the template is still fresh. * - * @param TemplateReferenceInterface $template A template - * @param int $time The last modification time of the cached template (timestamp) + * @param int $time The last modification time of the cached template (timestamp) * * @return bool */ diff --git a/src/Symfony/Component/Templating/Loader/ChainLoader.php b/src/Symfony/Component/Templating/Loader/ChainLoader.php index 3e5f375cb7..514cc3ed5c 100644 --- a/src/Symfony/Component/Templating/Loader/ChainLoader.php +++ b/src/Symfony/Component/Templating/Loader/ChainLoader.php @@ -60,8 +60,7 @@ class ChainLoader extends Loader /** * Returns true if the template is still fresh. * - * @param TemplateReferenceInterface $template A template - * @param int $time The last modification time of the cached template (timestamp) + * @param int $time The last modification time of the cached template (timestamp) * * @return bool */ diff --git a/src/Symfony/Component/Templating/Loader/FilesystemLoader.php b/src/Symfony/Component/Templating/Loader/FilesystemLoader.php index 016018cf1b..eff6a08be0 100644 --- a/src/Symfony/Component/Templating/Loader/FilesystemLoader.php +++ b/src/Symfony/Component/Templating/Loader/FilesystemLoader.php @@ -78,8 +78,7 @@ class FilesystemLoader extends Loader /** * Returns true if the template is still fresh. * - * @param TemplateReferenceInterface $template A template - * @param int $time The last modification time of the cached template (timestamp) + * @param int $time The last modification time of the cached template (timestamp) * * @return bool true if the template is still fresh, false otherwise */ diff --git a/src/Symfony/Component/Templating/Loader/LoaderInterface.php b/src/Symfony/Component/Templating/Loader/LoaderInterface.php index 0deb231bc0..7ecb39a3e8 100644 --- a/src/Symfony/Component/Templating/Loader/LoaderInterface.php +++ b/src/Symfony/Component/Templating/Loader/LoaderInterface.php @@ -31,8 +31,7 @@ interface LoaderInterface /** * Returns true if the template is still fresh. * - * @param TemplateReferenceInterface $template A template - * @param int $time The last modification time of the cached template (timestamp) + * @param int $time The last modification time of the cached template (timestamp) * * @return bool */ diff --git a/src/Symfony/Component/Templating/PhpEngine.php b/src/Symfony/Component/Templating/PhpEngine.php index 9da98266b9..35dcb026bc 100644 --- a/src/Symfony/Component/Templating/PhpEngine.php +++ b/src/Symfony/Component/Templating/PhpEngine.php @@ -43,9 +43,7 @@ class PhpEngine implements EngineInterface, \ArrayAccess private $evalParameters; /** - * @param TemplateNameParserInterface $parser A TemplateNameParserInterface instance - * @param LoaderInterface $loader A loader instance - * @param HelperInterface[] $helpers An array of helper instances + * @param HelperInterface[] $helpers An array of helper instances */ public function __construct(TemplateNameParserInterface $parser, LoaderInterface $loader, array $helpers = []) { @@ -120,8 +118,7 @@ class PhpEngine implements EngineInterface, \ArrayAccess /** * Evaluates a template. * - * @param Storage $template The template to render - * @param array $parameters An array of parameters to pass to the template + * @param array $parameters An array of parameters to pass to the template * * @return string|false The evaluated template, or false if the engine is unable to render the template * @@ -242,8 +239,7 @@ class PhpEngine implements EngineInterface, \ArrayAccess /** * Sets a helper. * - * @param HelperInterface $helper The helper instance - * @param string $alias An alias + * @param string $alias An alias */ public function set(HelperInterface $helper, $alias = null) { diff --git a/src/Symfony/Component/Translation/Dumper/DumperInterface.php b/src/Symfony/Component/Translation/Dumper/DumperInterface.php index 9965e8091f..445b70189d 100644 --- a/src/Symfony/Component/Translation/Dumper/DumperInterface.php +++ b/src/Symfony/Component/Translation/Dumper/DumperInterface.php @@ -24,8 +24,7 @@ interface DumperInterface /** * Dumps the message catalogue. * - * @param MessageCatalogue $messages The message catalogue - * @param array $options Options that are used by the dumper + * @param array $options Options that are used by the dumper */ public function dump(MessageCatalogue $messages, $options = []); } diff --git a/src/Symfony/Component/Translation/Dumper/FileDumper.php b/src/Symfony/Component/Translation/Dumper/FileDumper.php index 8457ecc7ec..91fc04977b 100644 --- a/src/Symfony/Component/Translation/Dumper/FileDumper.php +++ b/src/Symfony/Component/Translation/Dumper/FileDumper.php @@ -103,9 +103,8 @@ abstract class FileDumper implements DumperInterface /** * Transforms a domain of a message catalogue to its string representation. * - * @param MessageCatalogue $messages - * @param string $domain - * @param array $options + * @param string $domain + * @param array $options * * @return string representation */ diff --git a/src/Symfony/Component/Translation/Extractor/ChainExtractor.php b/src/Symfony/Component/Translation/Extractor/ChainExtractor.php index 69ee2dfc39..2683f5d248 100644 --- a/src/Symfony/Component/Translation/Extractor/ChainExtractor.php +++ b/src/Symfony/Component/Translation/Extractor/ChainExtractor.php @@ -30,8 +30,7 @@ class ChainExtractor implements ExtractorInterface /** * Adds a loader to the translation extractor. * - * @param string $format The format of the loader - * @param ExtractorInterface $extractor The loader + * @param string $format The format of the loader */ public function addExtractor($format, ExtractorInterface $extractor) { diff --git a/src/Symfony/Component/Translation/Extractor/ExtractorInterface.php b/src/Symfony/Component/Translation/Extractor/ExtractorInterface.php index b4534fae7e..91de20192e 100644 --- a/src/Symfony/Component/Translation/Extractor/ExtractorInterface.php +++ b/src/Symfony/Component/Translation/Extractor/ExtractorInterface.php @@ -24,8 +24,7 @@ interface ExtractorInterface /** * Extracts translation messages from files, a file or a directory to the catalogue. * - * @param string|array $resource Files, a file or a directory - * @param MessageCatalogue $catalogue The catalogue + * @param string|array $resource Files, a file or a directory */ public function extract($resource, MessageCatalogue $catalogue); diff --git a/src/Symfony/Component/Translation/Extractor/PhpExtractor.php b/src/Symfony/Component/Translation/Extractor/PhpExtractor.php index 3e1a152533..91c14ec384 100644 --- a/src/Symfony/Component/Translation/Extractor/PhpExtractor.php +++ b/src/Symfony/Component/Translation/Extractor/PhpExtractor.php @@ -195,9 +195,8 @@ class PhpExtractor extends AbstractFileExtractor implements ExtractorInterface /** * Extracts trans message from PHP tokens. * - * @param array $tokens - * @param MessageCatalogue $catalog - * @param string $filename + * @param array $tokens + * @param string $filename */ protected function parseTokens($tokens, MessageCatalogue $catalog/*, string $filename*/) { diff --git a/src/Symfony/Component/Translation/IdentityTranslator.php b/src/Symfony/Component/Translation/IdentityTranslator.php index b15792a9b5..fc88301e0a 100644 --- a/src/Symfony/Component/Translation/IdentityTranslator.php +++ b/src/Symfony/Component/Translation/IdentityTranslator.php @@ -26,9 +26,6 @@ class IdentityTranslator implements LegacyTranslatorInterface, TranslatorInterfa private $selector; - /** - * @param MessageSelector|null $selector The message selector for pluralization - */ public function __construct(MessageSelector $selector = null) { $this->selector = $selector; diff --git a/src/Symfony/Component/Translation/Loader/XliffFileLoader.php b/src/Symfony/Component/Translation/Loader/XliffFileLoader.php index e67578304d..fdb3c84217 100644 --- a/src/Symfony/Component/Translation/Loader/XliffFileLoader.php +++ b/src/Symfony/Component/Translation/Loader/XliffFileLoader.php @@ -73,9 +73,7 @@ class XliffFileLoader implements LoaderInterface /** * Extract messages and metadata from DOMDocument into a MessageCatalogue. * - * @param \DOMDocument $dom Source to extract messages and metadata - * @param MessageCatalogue $catalogue Catalogue where we'll collect messages and metadata - * @param string $domain The domain + * @param string $domain The domain */ private function extractXliff1(\DOMDocument $dom, MessageCatalogue $catalogue, string $domain) { diff --git a/src/Symfony/Component/Translation/LoggingTranslator.php b/src/Symfony/Component/Translation/LoggingTranslator.php index b164321b82..d0b06ff70c 100644 --- a/src/Symfony/Component/Translation/LoggingTranslator.php +++ b/src/Symfony/Component/Translation/LoggingTranslator.php @@ -31,7 +31,6 @@ class LoggingTranslator implements TranslatorInterface, LegacyTranslatorInterfac /** * @param TranslatorInterface $translator The translator must implement TranslatorBagInterface - * @param LoggerInterface $logger */ public function __construct($translator, LoggerInterface $logger) { diff --git a/src/Symfony/Component/Translation/Reader/TranslationReader.php b/src/Symfony/Component/Translation/Reader/TranslationReader.php index e4554f39b4..2b98345219 100644 --- a/src/Symfony/Component/Translation/Reader/TranslationReader.php +++ b/src/Symfony/Component/Translation/Reader/TranslationReader.php @@ -32,8 +32,7 @@ class TranslationReader implements TranslationReaderInterface /** * Adds a loader to the translation extractor. * - * @param string $format The format of the loader - * @param LoaderInterface $loader + * @param string $format The format of the loader */ public function addLoader($format, LoaderInterface $loader) { diff --git a/src/Symfony/Component/Translation/Reader/TranslationReaderInterface.php b/src/Symfony/Component/Translation/Reader/TranslationReaderInterface.php index 0aa55c6d36..0b2ad332a9 100644 --- a/src/Symfony/Component/Translation/Reader/TranslationReaderInterface.php +++ b/src/Symfony/Component/Translation/Reader/TranslationReaderInterface.php @@ -23,8 +23,7 @@ interface TranslationReaderInterface /** * Reads translation messages from a directory to the catalogue. * - * @param string $directory - * @param MessageCatalogue $catalogue + * @param string $directory */ public function read($directory, MessageCatalogue $catalogue); } diff --git a/src/Symfony/Component/Translation/Writer/TranslationWriter.php b/src/Symfony/Component/Translation/Writer/TranslationWriter.php index a44d24c136..d402443133 100644 --- a/src/Symfony/Component/Translation/Writer/TranslationWriter.php +++ b/src/Symfony/Component/Translation/Writer/TranslationWriter.php @@ -28,8 +28,7 @@ class TranslationWriter implements TranslationWriterInterface /** * Adds a dumper to the writer. * - * @param string $format The format of the dumper - * @param DumperInterface $dumper The dumper + * @param string $format The format of the dumper */ public function addDumper($format, DumperInterface $dumper) { @@ -65,9 +64,8 @@ class TranslationWriter implements TranslationWriterInterface /** * Writes translation from the catalogue according to the selected format. * - * @param MessageCatalogue $catalogue The message catalogue to write - * @param string $format The format to use to dump the messages - * @param array $options Options that are passed to the dumper + * @param string $format The format to use to dump the messages + * @param array $options Options that are passed to the dumper * * @throws InvalidArgumentException */ diff --git a/src/Symfony/Component/Translation/Writer/TranslationWriterInterface.php b/src/Symfony/Component/Translation/Writer/TranslationWriterInterface.php index b07c08e236..f7c56bed09 100644 --- a/src/Symfony/Component/Translation/Writer/TranslationWriterInterface.php +++ b/src/Symfony/Component/Translation/Writer/TranslationWriterInterface.php @@ -24,9 +24,8 @@ interface TranslationWriterInterface /** * Writes translation from the catalogue according to the selected format. * - * @param MessageCatalogue $catalogue The message catalogue to write - * @param string $format The format to use to dump the messages - * @param array $options Options that are passed to the dumper + * @param string $format The format to use to dump the messages + * @param array $options Options that are passed to the dumper * * @throws InvalidArgumentException */ diff --git a/src/Symfony/Component/Validator/ConstraintValidatorInterface.php b/src/Symfony/Component/Validator/ConstraintValidatorInterface.php index b215346a48..308c1e6191 100644 --- a/src/Symfony/Component/Validator/ConstraintValidatorInterface.php +++ b/src/Symfony/Component/Validator/ConstraintValidatorInterface.php @@ -20,16 +20,13 @@ interface ConstraintValidatorInterface { /** * Initializes the constraint validator. - * - * @param ExecutionContextInterface $context The current validation context */ public function initialize(ExecutionContextInterface $context); /** * Checks if the passed value is valid. * - * @param mixed $value The value that should be validated - * @param Constraint $constraint The constraint for the validation + * @param mixed $value The value that should be validated */ public function validate($value, Constraint $constraint); } diff --git a/src/Symfony/Component/Validator/ConstraintViolation.php b/src/Symfony/Component/Validator/ConstraintViolation.php index e615cd3921..22ce02843c 100644 --- a/src/Symfony/Component/Validator/ConstraintViolation.php +++ b/src/Symfony/Component/Validator/ConstraintViolation.php @@ -32,22 +32,20 @@ class ConstraintViolation implements ConstraintViolationInterface /** * Creates a new constraint violation. * - * @param string $message The violation message - * @param string $messageTemplate The raw violation message - * @param array $parameters The parameters to substitute in the - * raw violation message - * @param mixed $root The value originally passed to the - * validator - * @param string $propertyPath The property path from the root - * value to the invalid value - * @param mixed $invalidValue The invalid value that caused this - * violation - * @param int|null $plural The number for determining the plural - * form when translating the message - * @param string|null $code The error code of the violation - * @param Constraint|null $constraint The constraint whose validation - * caused the violation - * @param mixed $cause The cause of the violation + * @param string $message The violation message + * @param string $messageTemplate The raw violation message + * @param array $parameters The parameters to substitute in the + * raw violation message + * @param mixed $root The value originally passed to the + * validator + * @param string $propertyPath The property path from the root + * value to the invalid value + * @param mixed $invalidValue The invalid value that caused this + * violation + * @param int|null $plural The number for determining the plural + * form when translating the message + * @param string|null $code The error code of the violation + * @param mixed $cause The cause of the violation */ public function __construct(?string $message, ?string $messageTemplate, array $parameters, $root, ?string $propertyPath, $invalidValue, int $plural = null, $code = null, Constraint $constraint = null, $cause = null) { diff --git a/src/Symfony/Component/Validator/ConstraintViolationListInterface.php b/src/Symfony/Component/Validator/ConstraintViolationListInterface.php index 47e986f51e..0f38a6d904 100644 --- a/src/Symfony/Component/Validator/ConstraintViolationListInterface.php +++ b/src/Symfony/Component/Validator/ConstraintViolationListInterface.php @@ -51,8 +51,7 @@ interface ConstraintViolationListInterface extends \Traversable, \Countable, \Ar /** * Sets a violation at a given offset. * - * @param int $offset The violation offset - * @param ConstraintViolationInterface $violation The violation + * @param int $offset The violation offset */ public function set($offset, ConstraintViolationInterface $violation); diff --git a/src/Symfony/Component/Validator/Constraints/CardSchemeValidator.php b/src/Symfony/Component/Validator/Constraints/CardSchemeValidator.php index 6737e57bcc..f62fb03997 100644 --- a/src/Symfony/Component/Validator/Constraints/CardSchemeValidator.php +++ b/src/Symfony/Component/Validator/Constraints/CardSchemeValidator.php @@ -94,8 +94,7 @@ class CardSchemeValidator extends ConstraintValidator /** * Validates a creditcard belongs to a specified scheme. * - * @param mixed $value - * @param Constraint $constraint + * @param mixed $value */ public function validate($value, Constraint $constraint) { diff --git a/src/Symfony/Component/Validator/Constraints/LuhnValidator.php b/src/Symfony/Component/Validator/Constraints/LuhnValidator.php index 4a515c74cb..888e29cb7f 100644 --- a/src/Symfony/Component/Validator/Constraints/LuhnValidator.php +++ b/src/Symfony/Component/Validator/Constraints/LuhnValidator.php @@ -33,8 +33,7 @@ class LuhnValidator extends ConstraintValidator /** * Validates a credit card number with the Luhn algorithm. * - * @param mixed $value - * @param Constraint $constraint + * @param mixed $value * * @throws UnexpectedTypeException when the given credit card number is no string */ diff --git a/src/Symfony/Component/Validator/Context/ExecutionContext.php b/src/Symfony/Component/Validator/Context/ExecutionContext.php index c97773e536..10eff4475b 100644 --- a/src/Symfony/Component/Validator/Context/ExecutionContext.php +++ b/src/Symfony/Component/Validator/Context/ExecutionContext.php @@ -130,7 +130,6 @@ class ExecutionContext implements ExecutionContextInterface /** * Creates a new execution context. * - * @param ValidatorInterface $validator The validator * @param mixed $root The root value of the * validated object graph * @param TranslatorInterface $translator The translator diff --git a/src/Symfony/Component/Validator/Context/ExecutionContextFactoryInterface.php b/src/Symfony/Component/Validator/Context/ExecutionContextFactoryInterface.php index f3ab3dd68a..bb014a12e7 100644 --- a/src/Symfony/Component/Validator/Context/ExecutionContextFactoryInterface.php +++ b/src/Symfony/Component/Validator/Context/ExecutionContextFactoryInterface.php @@ -26,9 +26,8 @@ interface ExecutionContextFactoryInterface /** * Creates a new execution context. * - * @param ValidatorInterface $validator The validator - * @param mixed $root The root value of the validated - * object graph + * @param mixed $root The root value of the validated + * object graph * * @return ExecutionContextInterface The new execution context */ diff --git a/src/Symfony/Component/Validator/Context/ExecutionContextInterface.php b/src/Symfony/Component/Validator/Context/ExecutionContextInterface.php index 2ab625b156..6976833f2a 100644 --- a/src/Symfony/Component/Validator/Context/ExecutionContextInterface.php +++ b/src/Symfony/Component/Validator/Context/ExecutionContextInterface.php @@ -125,10 +125,9 @@ interface ExecutionContextInterface /** * Sets the currently validated value. * - * @param mixed $value The validated value - * @param object|null $object The currently validated object - * @param MetadataInterface|null $metadata The validation metadata - * @param string $propertyPath The property path to the current value + * @param mixed $value The validated value + * @param object|null $object The currently validated object + * @param string $propertyPath The property path to the current value * * @internal Used by the validator engine. Should not be called by user * code. @@ -148,8 +147,6 @@ interface ExecutionContextInterface /** * Sets the currently validated constraint. * - * @param Constraint $constraint The validated constraint - * * @internal Used by the validator engine. Should not be called by user * code. */ diff --git a/src/Symfony/Component/Validator/Mapping/ClassMetadata.php b/src/Symfony/Component/Validator/Mapping/ClassMetadata.php index 6e0256c290..3d80756edf 100644 --- a/src/Symfony/Component/Validator/Mapping/ClassMetadata.php +++ b/src/Symfony/Component/Validator/Mapping/ClassMetadata.php @@ -205,8 +205,7 @@ class ClassMetadata extends GenericMetadata implements ClassMetadataInterface /** * Adds a constraint to the given property. * - * @param string $property The name of the property - * @param Constraint $constraint The constraint + * @param string $property The name of the property * * @return $this */ @@ -246,8 +245,7 @@ class ClassMetadata extends GenericMetadata implements ClassMetadataInterface * The name of the getter is assumed to be the name of the property with an * uppercased first letter and either the prefix "get" or "is". * - * @param string $property The name of the property - * @param Constraint $constraint The constraint + * @param string $property The name of the property * * @return $this */ @@ -269,9 +267,8 @@ class ClassMetadata extends GenericMetadata implements ClassMetadataInterface /** * Adds a constraint to the getter of the given property. * - * @param string $property The name of the property - * @param string $method The name of the getter method - * @param Constraint $constraint The constraint + * @param string $property The name of the property + * @param string $method The name of the getter method * * @return $this */ diff --git a/src/Symfony/Component/Validator/Validator/RecursiveContextualValidator.php b/src/Symfony/Component/Validator/Validator/RecursiveContextualValidator.php index f96307a7fb..dc06899ae1 100644 --- a/src/Symfony/Component/Validator/Validator/RecursiveContextualValidator.php +++ b/src/Symfony/Component/Validator/Validator/RecursiveContextualValidator.php @@ -50,13 +50,7 @@ class RecursiveContextualValidator implements ContextualValidatorInterface /** * Creates a validator for the given context. * - * @param ExecutionContextInterface $context The execution context - * @param MetadataFactoryInterface $metadataFactory The factory for - * fetching the metadata - * of validated objects - * @param ConstraintValidatorFactoryInterface $validatorFactory The factory for creating - * constraint validators - * @param ObjectInitializerInterface[] $objectInitializers The object initializers + * @param ObjectInitializerInterface[] $objectInitializers The object initializers */ public function __construct(ExecutionContextInterface $context, MetadataFactoryInterface $metadataFactory, ConstraintValidatorFactoryInterface $validatorFactory, array $objectInitializers = []) { diff --git a/src/Symfony/Component/Validator/Validator/RecursiveValidator.php b/src/Symfony/Component/Validator/Validator/RecursiveValidator.php index a258fd4a77..01a41e1791 100644 --- a/src/Symfony/Component/Validator/Validator/RecursiveValidator.php +++ b/src/Symfony/Component/Validator/Validator/RecursiveValidator.php @@ -32,14 +32,7 @@ class RecursiveValidator implements ValidatorInterface /** * Creates a new validator. * - * @param ExecutionContextFactoryInterface $contextFactory The factory for - * creating new contexts - * @param MetadataFactoryInterface $metadataFactory The factory for - * fetching the metadata - * of validated objects - * @param ConstraintValidatorFactoryInterface $validatorFactory The factory for creating - * constraint validators - * @param ObjectInitializerInterface[] $objectInitializers The object initializers + * @param ObjectInitializerInterface[] $objectInitializers The object initializers */ public function __construct(ExecutionContextFactoryInterface $contextFactory, MetadataFactoryInterface $metadataFactory, ConstraintValidatorFactoryInterface $validatorFactory, array $objectInitializers = []) { diff --git a/src/Symfony/Component/VarDumper/Cloner/AbstractCloner.php b/src/Symfony/Component/VarDumper/Cloner/AbstractCloner.php index 8e42337a75..6aec3e4924 100644 --- a/src/Symfony/Component/VarDumper/Cloner/AbstractCloner.php +++ b/src/Symfony/Component/VarDumper/Cloner/AbstractCloner.php @@ -278,7 +278,6 @@ abstract class AbstractCloner implements ClonerInterface /** * Casts an object to an array representation. * - * @param Stub $stub The Stub for the casted object * @param bool $isNested True if the object is nested in the dumped structure * * @return array The object casted as array @@ -338,7 +337,6 @@ abstract class AbstractCloner implements ClonerInterface /** * Casts a resource to an array representation. * - * @param Stub $stub The Stub for the casted resource * @param bool $isNested True if the object is nested in the dumped structure * * @return array The resource casted as array diff --git a/src/Symfony/Component/VarDumper/Cloner/DumperInterface.php b/src/Symfony/Component/VarDumper/Cloner/DumperInterface.php index cb498ff706..c048e2d01e 100644 --- a/src/Symfony/Component/VarDumper/Cloner/DumperInterface.php +++ b/src/Symfony/Component/VarDumper/Cloner/DumperInterface.php @@ -21,26 +21,23 @@ interface DumperInterface /** * Dumps a scalar value. * - * @param Cursor $cursor The Cursor position in the dump - * @param string $type The PHP type of the value being dumped - * @param string|int|float|bool $value The scalar value being dumped + * @param string $type The PHP type of the value being dumped + * @param string|int|float|bool $value The scalar value being dumped */ public function dumpScalar(Cursor $cursor, $type, $value); /** * Dumps a string. * - * @param Cursor $cursor The Cursor position in the dump - * @param string $str The string being dumped - * @param bool $bin Whether $str is UTF-8 or binary encoded - * @param int $cut The number of characters $str has been cut by + * @param string $str The string being dumped + * @param bool $bin Whether $str is UTF-8 or binary encoded + * @param int $cut The number of characters $str has been cut by */ public function dumpString(Cursor $cursor, $str, $bin, $cut); /** * Dumps while entering an hash. * - * @param Cursor $cursor The Cursor position in the dump * @param int $type A Cursor::HASH_* const for the type of hash * @param string $class The object class, resource type or array count * @param bool $hasChild When the dump of the hash has child item @@ -50,7 +47,6 @@ interface DumperInterface /** * Dumps while leaving an hash. * - * @param Cursor $cursor The Cursor position in the dump * @param int $type A Cursor::HASH_* const for the type of hash * @param string $class The object class, resource type or array count * @param bool $hasChild When the dump of the hash has child item diff --git a/src/Symfony/Component/VarDumper/Dumper/CliDumper.php b/src/Symfony/Component/VarDumper/Dumper/CliDumper.php index 5a0897ca01..f390cd7832 100644 --- a/src/Symfony/Component/VarDumper/Dumper/CliDumper.php +++ b/src/Symfony/Component/VarDumper/Dumper/CliDumper.php @@ -318,9 +318,8 @@ class CliDumper extends AbstractDumper /** * Dumps an ellipsis for cut children. * - * @param Cursor $cursor The Cursor position in the dump - * @param bool $hasChild When the dump of the hash has child item - * @param int $cut The number of items the hash has been cut by + * @param bool $hasChild When the dump of the hash has child item + * @param int $cut The number of items the hash has been cut by */ protected function dumpEllipsis(Cursor $cursor, $hasChild, $cut) { @@ -337,8 +336,6 @@ class CliDumper extends AbstractDumper /** * Dumps a key in a hash structure. - * - * @param Cursor $cursor The Cursor position in the dump */ protected function dumpKey(Cursor $cursor) { diff --git a/src/Symfony/Component/Workflow/Dumper/DumperInterface.php b/src/Symfony/Component/Workflow/Dumper/DumperInterface.php index 797c63e32b..ebed0743fc 100644 --- a/src/Symfony/Component/Workflow/Dumper/DumperInterface.php +++ b/src/Symfony/Component/Workflow/Dumper/DumperInterface.php @@ -25,9 +25,7 @@ interface DumperInterface /** * Dumps a workflow definition. * - * @param Definition $definition A Definition instance - * @param Marking|null $marking A Marking instance - * @param array $options An array of options + * @param array $options An array of options * * @return string The representation of the workflow */ diff --git a/src/Symfony/Component/Workflow/Event/Event.php b/src/Symfony/Component/Workflow/Event/Event.php index 09ba70bd30..d2b5da2d4d 100644 --- a/src/Symfony/Component/Workflow/Event/Event.php +++ b/src/Symfony/Component/Workflow/Event/Event.php @@ -29,10 +29,7 @@ class Event extends BaseEvent private $workflowName; /** - * @param object $subject - * @param Marking $marking - * @param Transition $transition - * @param WorkflowInterface $workflow + * @param object $subject */ public function __construct($subject, Marking $marking, Transition $transition = null, $workflow = null) { diff --git a/src/Symfony/Component/Workflow/Registry.php b/src/Symfony/Component/Workflow/Registry.php index f1a2df98e6..fe0c7ef3ab 100644 --- a/src/Symfony/Component/Workflow/Registry.php +++ b/src/Symfony/Component/Workflow/Registry.php @@ -24,7 +24,6 @@ class Registry private $workflows = []; /** - * @param Workflow $workflow * @param SupportStrategyInterface $supportStrategy * * @deprecated since Symfony 4.1, use addWorkflow() instead diff --git a/src/Symfony/Component/Workflow/SupportStrategy/SupportStrategyInterface.php b/src/Symfony/Component/Workflow/SupportStrategy/SupportStrategyInterface.php index 3627591fac..30231da411 100644 --- a/src/Symfony/Component/Workflow/SupportStrategy/SupportStrategyInterface.php +++ b/src/Symfony/Component/Workflow/SupportStrategy/SupportStrategyInterface.php @@ -21,8 +21,7 @@ use Symfony\Component\Workflow\Workflow; interface SupportStrategyInterface { /** - * @param Workflow $workflow - * @param object $subject + * @param object $subject * * @return bool */ diff --git a/src/Symfony/Component/Workflow/Validator/DefinitionValidatorInterface.php b/src/Symfony/Component/Workflow/Validator/DefinitionValidatorInterface.php index 1282c966b7..6631a9386c 100644 --- a/src/Symfony/Component/Workflow/Validator/DefinitionValidatorInterface.php +++ b/src/Symfony/Component/Workflow/Validator/DefinitionValidatorInterface.php @@ -21,8 +21,7 @@ use Symfony\Component\Workflow\Exception\InvalidDefinitionException; interface DefinitionValidatorInterface { /** - * @param Definition $definition - * @param string $name + * @param string $name * * @throws InvalidDefinitionException on invalid definition */