8000 Remove useless docblocks · symfony/symfony@64437a3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 64437a3

Browse files
Remove useless docblocks
1 parent 711bdc9 commit 64437a3

File tree

154 files changed

+91
-1247
lines changed
  • Templating
  • Validator
  • Guess
  • Tests/Extension/Validator/ViolationMapper
  • HttpFoundation
  • HttpKernel
  • Intl
  • OptionsResolver
  • Process/Pipes
  • PropertyAccess
  • Routing/Matcher/Dumper
  • Security
  • Serializer
  • Translation
  • Validator
  • Some content is hidden

    Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

    154 files changed

    +91
    -1247
    lines changed

    src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/DoctrineValidationPass.php

    Lines changed: 3 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -22,11 +22,11 @@
    2222
    */
    2323
    class DoctrineValidationPass implements CompilerPassInterface
    2424
    {
    25-
    /**
    26-
    * @var string
    27-
    */
    2825
    private $managerType;
    2926

    27+
    /**
    28+
    * @param string $managerType
    29+
    */
    3030
    public function __construct($managerType)
    3131
    {
    3232
    $this->managerType = $managerType;

    src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php

    Lines changed: 0 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -26,9 +26,6 @@
    2626
    */
    2727
    class RegisterEventListenersAndSubscribersPass implements CompilerPassInterface
    2828
    {
    29-
    /**
    30-
    * @var string|string[]
    31-
    */
    3229
    private $connections;
    3330
    private $eventManagers;
    3431
    private $managerTemplate;

    src/Symfony/Bridge/Doctrine/ExpressionLanguage/DoctrineParserCache.php

    Lines changed: 0 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -20,9 +20,6 @@
    2020
    */
    2121
    class DoctrineParserCache implements ParserCacheInterface
    2222
    {
    23-
    /**
    24-
    * @var Cache
    25-
    */
    2623
    private $cache;
    2724

    2825
    public function __construct(Cache $cache)

    src/Symfony/Bridge/Doctrine/Form/ChoiceList/DoctrineChoiceLoader.php

    Lines changed: 0 additions & 19 deletions
    Original file line numberDiff line numberDiff line change
    @@ -23,29 +23,10 @@
    2323
    */
    2424
    class DoctrineChoiceLoader implements ChoiceLoaderInterface
    2525
    {
    26-
    /**
    27-
    * @var ChoiceListFactoryInterface
    28-
    */
    2926
    private $factory;
    30-
    31-
    /**
    32-
    * @var ObjectManager
    33-
    */
    3427
    private $manager;
    35-
    36-
    /**
    37-
    * @var string
    38-
    */
    3928
    private $class;
    40-
    41-
    /**
    42-
    * @var IdReader
    43-
    */
    4429
    private $idReader;
    45-
    46-
    /**
    47-
    * @var null|EntityLoaderInterface
    48-
    */
    4930
    private $objectLoader;
    5031

    5132
    /**

    src/Symfony/Bridge/Doctrine/Form/ChoiceList/IdReader.php

    Lines changed: 0 additions & 19 deletions
    Original file line numberDiff line numberDiff line change
    @@ -24,29 +24,10 @@
    2424
    */
    2525
    class IdReader
    2626
    {
    27-
    /**
    28-
    * @var ObjectManager
    29-
    */
    3027
    private $om;
    31-
    32-
    /**
    33-
    * @var ClassMetadata
    34-
    */
    3528
    private $classMetadata;
    36-
    37-
    /**
    38-
    * @var bool
    39-
    */
    4029
    private $singleId;
    41-
    42-
    /**
    43-
    * @var bool
    44-
    */
    4530
    private $intId;
    46-
    47-
    /**
    48-
    * @var string
    49-
    */
    5031
    private $idField;
    5132

    5233
    /**

    src/Symfony/Bridge/Doctrine/Form/DoctrineOrmExtension.php

    Lines changed: 0 additions & 7 deletions
    Original file line numberDiff line numberDiff line change
    @@ -25,14 +25,7 @@ class DoctrineOrmExtension extends AbstractExtension
    2525
    {
    2626
    protected $registry;
    2727

    28-
    /**
    29-
    * @var PropertyAccessorInterface
    30-
    */
    3128
    private $propertyAccessor;
    32-
    33-
    /**
    34-
    * @var ChoiceListFactoryInterface
    35-
    */
    3629
    private $choiceListFactory;
    3730

    3831
    public function __construct(ManagerRegistry $registry, PropertyAccessorInterface $propertyAccessor = null, ChoiceListFactoryInterface $choiceListFactory = null)

    src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php

    Lines changed: 0 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -25,9 +25,6 @@
    2525
    */
    2626
    class UniqueEntityValidator extends ConstraintValidator
    2727
    {
    28-
    /**
    29-
    * @var ManagerRegistry
    30-
    */
    3128
    private $registry;
    3229

    3330
    public function __construct(ManagerRegistry $registry)

    src/Symfony/Bridge/ProxyManager/LazyProxy/PhpDumper/ProxyDumper.php

    Lines changed: 0 additions & 11 deletions
    Original file line numberDiff line numberDiff line change
    @@ -25,19 +25,8 @@
    2525
    */
    2626
    class ProxyDumper implements DumperInterface
    2727
    {
    28-
    /**
    29-
    * @var string
    30-
    */
    3128
    private $salt;
    32-
    33-
    /**
    34-
    * @var LazyLoadingValueHolderGenerator
    35-
    */
    3629
    private $proxyGenerator;
    37-
    38-
    /**
    39-
    * @var BaseGeneratorStrategy
    40-
    */
    4130
    private $classGenerator;
    4231

    4332
    /**

    src/Symfony/Bridge/Twig/Extension/StopwatchExtension.php

    Lines changed: 0 additions & 4 deletions
    Original file line numberDiff line numberDiff line change
    @@ -23,10 +23,6 @@
    2323
    class StopwatchExtension extends AbstractExtension
    2424
    {
    2525
    private $stopwatch;
    26-
    27-
    /**
    28-
    * @var bool
    29-
    */
    3026
    private $enabled;
    3127

    3228
    public function __construct(Stopwatch $stopwatch = null, $enabled = true)

    src/Symfony/Bridge/Twig/NodeVisitor/TranslationDefaultDomainNodeVisitor.php

    Lines changed: 0 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -30,9 +30,6 @@
    3030
    */
    3131
    class TranslationDefaultDomainNodeVisitor extends AbstractNodeVisitor
    3232
    {
    33-
    /**
    34-
    * @var Scope
    35-
    */
    3633
    private $scope;
    3734

    3835
    public function __construct()

    src/Symfony/Bridge/Twig/Translation/TwigExtractor.php

    Lines changed: 0 additions & 5 deletions
    Original file line numberDiff line numberDiff line change
    @@ -42,11 +42,6 @@ class TwigExtractor extends AbstractFileExtractor implements ExtractorInterface
    4242
    */
    4343
    private $prefix = '';
    4444

    45-
    /**
    46-
    * The twig environment.
    47-
    *
    48-
    * @var Environment
    49-
    */
    5045
    private $twig;
    5146

    5247
    public function __construct(Environment $twig)

    src/Symfony/Bundle/FrameworkBundle/EventListener/SessionListener.php

    Lines changed: 0 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -21,9 +21,6 @@
    2121
    */
    2222
    class SessionListener extends BaseSessionListener
    2323
    {
    24-
    /**
    25-
    * @var ContainerInterface
    26-
    */
    2724
    private $container;
    2825

    2926
    public function __construct(ContainerInterface $container)

    src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php

    Lines changed: 3 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -31,12 +31,12 @@
    3131
    class ExceptionController
    3232
    {
    3333
    protected $twig;
    34+
    protected $debug;
    3435

    3536
    /**
    36-
    * @var bool Show error (false) or exception (true) pages by default
    37+
    * @param Environment $twig
    38+
    * @param bool $debug Show error (false) or exception (true) pages by default
    3739
    */
    38-
    protected $debug;
    39-
    4040
    public function __construct(Environment $twig, $debug)
    4141
    {
    4242
    $this->twig = $twig;

    src/Symfony/Component/ClassLoader/XcacheClassLoader.php

    Lines changed: 0 additions & 6 deletions
    Original file line numberDiff line numberDiff line change
    @@ -49,12 +49,6 @@
    4949
    class XcacheClassLoader
    5050
    {
    5151
    private $prefix;
    52-
    53-
    /**
    54-
    * A class loader object that implements the findFile() method.
    55-
    *
    56-
    * @var object
    57-
    */
    5852
    private $decorated;
    5953

    6054
    /**

    src/Symfony/Component/Config/ConfigCacheFactory.php

    Lines changed: 0 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -19,9 +19,6 @@
    1919
    */
    2020
    class ConfigCacheFactory implements ConfigCacheFactoryInterface
    2121
    {
    22-
    /**
    23-
    * @var bool Debug flag passed to the ConfigCache
    24-
    */
    2522
    private $debug;
    2623

    2724
    /**

    src/Symfony/Component/Console/ConsoleEvents.php

    Lines changed: 0 additions & 6 deletions
    Original file line numberDiff line numberDiff line change
    @@ -27,8 +27,6 @@ final class ConsoleEvents
    2727
    * instance.
    2828
    *
    2929
    * @Event
    30-
    *
    31-
    * @var string
    3230
    */
    3331
    const COMMAND = 'console.command';
    3432

    @@ -40,8 +38,6 @@ final class ConsoleEvents
    4038
    * instance.
    4139
    *
    4240
    * @Event
    43-
    *
    44-
    * @var string
    4541
    */
    4642
    const TERMINATE = 'console.terminate';
    4743

    @@ -54,8 +50,6 @@ final class ConsoleEvents
    5450
    * instance.
    5551
    *
    5652
    * @Event
    57-
    *
    58-
    * @var string
    5953
    */
    6054
    const EXCEPTION = 'console.exception';
    6155
    }

    src/Symfony/Component/Console/Event/ConsoleCommandEvent.php

    Lines changed: 0 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -25,8 +25,6 @@ class ConsoleCommandEvent extends ConsoleEvent
    2525

    2626
    /**
    2727
    * Indicates if the command should be run or skipped.
    28-
    *
    29-
    * @var bool
    3028
    */
    3129
    private $commandShouldRun = true;
    3230

    src/Symfony/Component/Console/Helper/ProgressBar.php

    Lines changed: 0 additions & 5 deletions
    Original file line numberDiff line numberDiff line change
    @@ -22,18 +22,13 @@
    2222
    */
    2323
    class ProgressBar
    2424
    {
    25-
    // options
    2625
    private $barWidth = 28;
    2726
    private $barChar;
    2827
    private $emptyBarChar = '-';
    2928
    private $progressChar = '>';
    3029
    private $format;
    3130
    private $internalFormat;
    3231
    private $redrawFreq = 1;
    33-
    34-
    /**
    35-
    * @var OutputInterface
    36-
    */
    3732
    private $output;
    3833
    private $step = 0;
    3934
    private $max;

    src/Symfony/Component/Console/Helper/TableHelper.php

    Lines changed: 0 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -29,9 +29,6 @@ class TableHelper extends Helper
    2929
    const LAYOUT_BORDERLESS = 1;
    3030
    const LAYOUT_COMPACT = 2;
    3131

    32-
    /**
    33-
    * @var Table
    34-
    */
    3532
    private $table;
    3633

    3734
    public function __construct($triggerDeprecationError = true)

    src/Symfony/Component/Console/Output/BufferedOutput.php

    Lines changed: 0 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -16,9 +16,6 @@
    1616
    */
    1717
    class BufferedOutput extends Output
    1818
    {
    19-
    /**
    20-
    * @var string
    21-
    */
    2219
    private $buffer = '';
    2320

    2421
    /**

    src/Symfony/Component/Console/Output/ConsoleOutput.php

    Lines changed: 0 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -28,9 +28,6 @@
    2828
    */
    2929
    class ConsoleOutput extends StreamOutput implements ConsoleOutputInterface
    3030
    {
    31-
    /**
    32-
    * @var StreamOutput
    33-
    */
    3431
    private $stderr;
    3532

    3633
    /**

    src/Symfony/Component/CssSelector/Node/ElementNode.php

    Lines changed: 0 additions & 7 deletions
    Original file line numberDiff line numberDiff line change
    @@ -21,14 +21,7 @@
    2121
    */
    2222
    class ElementNode extends AbstractNode
    2323
    {
    24-
    /**
    25-
    * @var string|null
    26-
    */
    2724
    private $namespace;
    28-
    29-
    /**
    30-
    * @var string|null
    31-
    */
    3225
    private $element;
    3326

    3427
    /**

    src/Symfony/Component/CssSelector/Parser/Reader.php

    Lines changed: 0 additions & 11 deletions
    Original file line numberDiff line numberDiff line change
    @@ -21,19 +21,8 @@
    2121
    */
    2222
    class Reader
    2323
    {
    24-
    /**
    25-
    * @var string
    26-
    */
    2724
    private $source;
    28-
    29-
    /**
    30-
    * @var int
    31-
    */
    3225
    private $length;
    33-
    34-
    /**
    35-
    * @var int
    36-
    */
    3726
    private $position = 0;
    3827

    3928
    /**

    src/Symfony/Component/CssSelector/Parser/Token.php

    Lines changed: 0 additions & 11 deletions
    Original file line numberDiff line numberDiff line change
    @@ -29,19 +29,8 @@ class Token
    2929
    const TYPE_NUMBER = 'number';
    3030
    const TYPE_STRING = 'string';
    3131

    32-
    /**
    33-
    * @var int
    34-
    */
    3532
    private $type;
    36-
    37-
    /**
    38-
    * @var string
    39-
    */
    4033
    private $value;
    41-
    42-
    /**
    43-
    * @var int
    44-
    */
    4534
    private $position;
    4635

    4736
    /**

    0 commit comments

    Comments
     (0)
    0