Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c9edaf

Browse files
[DI] minor docblock fixes
1 parent 0f9c6e6 commit 0c9edaf

File tree

438 files changed

+41
-2685
lines changed

Some content is hidden

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

438 files changed

+41
-2685
lines changed

src/Symfony/Bridge/Doctrine/CacheWarmer/ProxyCacheWarmer.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ class ProxyCacheWarmer implements CacheWarmerInterface
2626
{
2727
private $registry;
2828

29-
/**
30-
* @param ManagerRegistry $registry A ManagerRegistry instance
31-
*/
3229
public function __construct(ManagerRegistry $registry)
3330
{
3431
$this->registry = $registry;

src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ class ContainerAwareEventManager extends EventManager
2626
* Map of registered listeners.
2727
*
2828
* <event> => <listeners>
29-
*
30-
* @var array
3129
*/
3230
private $listeners = array();
3331
private $initialized = array();

src/Symfony/Bridge/Doctrine/DataFixtures/ContainerAwareLoader.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,8 @@
2525
*/
2626
class ContainerAwareLoader extends Loader
2727
{
28-
/**
29-
* @var ContainerInterface
30-
*/
3128
private $container;
3229

33-
/**
34-
* @param ContainerInterface $container A ContainerInterface instance
35-
*/
3630
public function __construct(ContainerInterface $container)
3731
{
3832
$this->container = $container;

src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,11 @@ abstract class AbstractDoctrineExtension extends Extension
2727
{
2828
/**
2929
* Used inside metadata driver method to simplify aggregation of data.
30-
*
31-
* @var array
3230
*/
3331
protected $aliasMap = array();
3432

3533
/**
3634
* Used inside metadata driver method to simplify aggregation of data.
37-
*
38-
* @var array
3935
*/
4036
protected $drivers = array();
4137

@@ -142,10 +138,6 @@ protected function setMappingDriverConfig(array $mappingConfig, $mappingName)
142138
*
143139
* Returns false when autodetection failed, an array of the completed information otherwise.
144140
*
145-
* @param array $bundleConfig
146-
* @param \ReflectionClass $bundle
147-
* @param ContainerBuilder $container A ContainerBuilder instance
148-
*
149141
* @return array|false
150142
*/
151143
protected function getMappingDriverBundleConfigDefaults(array $bundleConfig, \ReflectionClass $bundle, ContainerBuilder $container)
@@ -402,9 +394,6 @@ protected function loadCacheDriver($cacheName, $objectManagerName, array $cacheD
402394
*
403395
* The manager called $autoMappedManager will map all bundles that are not mapped by other managers.
404396
*
405-
* @param array $managerConfigs
406-
* @param array $bundles
407-
*
408397
* @return array The modified version of $managerConfigs
409398
*/
410399
protected function fixManagersAutoMappings(array $managerConfigs, array $bundles)
@@ -464,8 +453,6 @@ abstract protected function getMappingResourceExtension();
464453
/**
465454
* Search for a manager that is declared as 'auto_mapping' = true.
466455
*
467-
* @param array $managerConfigs
468-
*
469456
* @return null|string The name of the manager. If no one manager is found, returns null
470457
*
471458
* @throws \LogicException

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ public function __construct($driver, array $namespaces, array $managerParameters
134134

135135
/**
136136
* Register mappings and alias with the metadata drivers.
137-
*
138-
* @param ContainerBuilder $container
139137
*/
140138
public function process(ContainerBuilder $container)
141139
{
@@ -167,8 +165,6 @@ public function process(ContainerBuilder $container)
167165
* Get the service name of the metadata chain driver that the mappings
168166
* should be registered with.
169167
*
170-
* @param ContainerBuilder $container
171-
*
172168
* @return string The name of the chain driver service
173169
*
174170
* @throws ParameterNotFoundException if non of the managerParameters has a
@@ -195,8 +191,6 @@ protected function getDriver(ContainerBuilder $container)
195191
/**
196192
* Get the service name from the pattern and the configured manager name.
197193
*
198-
* @param ContainerBuilder $container
199-
*
200194
* @return string a service definition name
201195
*
202196
* @throws ParameterNotFoundException if none of the managerParameters has a
@@ -213,8 +207,6 @@ private function getConfigurationServiceName(ContainerBuilder $container)
213207
* The default implementation loops over the managerParameters and returns
214208
* the first non-empty parameter.
215209
*
216-
* @param ContainerBuilder $container
217-
*
218210
* @return string The name of the active manager
219211
*
220212
* @throws ParameterNotFoundException if none of the managerParameters is found in the container
@@ -240,8 +232,6 @@ private function getManagerName(ContainerBuilder $container)
240232
* This default implementation checks if the class has the enabledParameter
241233
* configured and if so if that parameter is present in the container.
242234
*
243-
* @param ContainerBuilder $container
244-
*
245235
* @return bool whether this compiler pass really should register the mappings
246236
*/
247237
protected function enabled(ContainerBuilder $container)

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,6 @@ public function getRemainingViews()
214214
/**
215215
* Returns the entities corresponding to the given values.
216216
*
217-
* @param array $values
218-
*
219217
* @return array
220218
*
221219
* @see ChoiceListInterface
@@ -267,8 +265,6 @@ public function getChoicesForValues(array $values)
267265
/**
268266
* Returns the values corresponding to the given entities.
269267
*
270-
* @param array $entities
271-
*
272268
* @return array
273269
*
274270
* @see ChoiceListInterface

src/Symfony/Bridge/Doctrine/Form/DataTransformer/CollectionToArrayTransformer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ class CollectionToArrayTransformer implements DataTransformerInterface
2424
/**
2525
* Transforms a collection into an array.
2626
*
27-
* @param Collection $collection A collection of entities
28-
*
2927
* @return mixed An array of entities
3028
*
3129
* @throws TransformationFailedException

src/Symfony/Bridge/Doctrine/Form/Type/EntityType.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ public function getQueryBuilderPartsForCachingHash($queryBuilder)
8484
/**
8585
* Converts a query parameter to an array.
8686
*
87-
* @param Parameter $parameter The query parameter
88-
*
8987
* @return array The array representation of the parameter
9088
*/
9189
private function parameterToArray(Parameter $parameter)

src/Symfony/Bridge/Doctrine/Logger/DbalLogger.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ class DbalLogger implements SQLLogger
2626
protected $logger;
2727
protected $stopwatch;
2828

29-
/**
30-
* @param LoggerInterface $logger A LoggerInterface instance
31-
* @param Stopwatch $stopwatch A Stopwatch instance
32-
*/
3329
public function __construct(LoggerInterface $logger = null, Stopwatch $stopwatch = null)
3430
{
3531
$this->logger = $logger;

src/Symfony/Bridge/Doctrine/Security/RememberMe/DoctrineTokenProvider.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ class DoctrineTokenProvider implements TokenProviderInterface
4545
*/
4646
private $conn;
4747

48-
/**
49-
* new DoctrineTokenProvider for the RememberMe authentication service.
50-
*
51-
* @param Connection $conn
52-
*/
5348
public function __construct(Connection $conn)
5449
{
5550
$this->conn = $conn;

src/Symfony/Bridge/Doctrine/Tests/DependencyInjection/DoctrineExtensionTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,6 @@ protected function invokeLoadCacheDriver(array $objectManager, ContainerBuilder
267267
}
268268

269269
/**
270-
* @param array $data
271-
*
272270
* @return \Symfony\Component\DependencyInjection\ContainerBuilder
273271
*/
274272
protected function createContainer(array $data = array())

src/Symfony/Bridge/Monolog/Handler/ChromePhpHandler.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
*/
2323
class ChromePhpHandler extends BaseChromePhpHandler
2424
{
25-
/**
26-
* @var array
27-
*/
2825
private $headers = array();
2926

3027
/**

src/Symfony/Bridge/Monolog/Handler/ConsoleHandler.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,7 @@
4040
*/
4141
class ConsoleHandler extends AbstractProcessingHandler implements EventSubscriberInterface
4242
{
43-
/**
44-
* @var OutputInterface|null
45-
*/
4643
private $output;
47-
48-
/**
49-
* @var array
50-
*/
5144
private $verbosityLevelMap = array(
5245
OutputInterface::VERBOSITY_NORMAL => Logger::WARNING,
5346
OutputInterface::VERBOSITY_VERBOSE => Logger::NOTICE,
@@ -92,8 +85,6 @@ public function handle(array $record)
9285

9386
/**
9487
* Sets the console output to use for printing logs.
95-
*
96-
* @param OutputInterface $output The console output to use
9788
*/
9889
public function setOutput(OutputInterface $output)
9990
{
@@ -113,8 +104,6 @@ public function close()
113104
/**
114105
* Before a command is executed, the handler gets activated and the console output
115106
* is set in order to know where to write the logs.
116-
*
117-
* @param ConsoleCommandEvent $event
118107
*/
119108
public function onCommand(ConsoleCommandEvent $event)
120109
{
@@ -128,8 +117,6 @@ public function onCommand(ConsoleCommandEvent $event)
128117

129118
/**
130119
* After a command has been executed, it disables the output.
131-
*
132-
* @param ConsoleTerminateEvent $event
133120
*/
134121
public function onTerminate(ConsoleTerminateEvent $event)
135122
{

src/Symfony/Bridge/Monolog/Handler/FirePHPHandler.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
*/
2323
class FirePHPHandler extends BaseFirePHPHandler
2424
{
25-
/**
26-
* @var array
27-
*/
2825
private $headers = array();
2926

3027
/**

src/Symfony/Bridge/Monolog/Handler/SwiftMailerHandler.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,13 @@ class SwiftMailerHandler extends BaseSwiftMailerHandler
2626

2727
protected $instantFlush = false;
2828

29-
/**
30-
* @param \Swift_Transport $transport
31-
*/
3229
public function setTransport(\Swift_Transport $transport)
3330
{
3431
$this->transport = $transport;
3532
}
3633

3734
/**
3835
* After the kernel has been terminated we will always flush messages.
39-
*
40-
* @param PostResponseEvent $event
4136
*/
4237
public function onKernelTerminate(PostResponseEvent $event)
4338
{
@@ -46,8 +41,6 @@ public function onKernelTerminate(PostResponseEvent $event)
4641

4742
/**
4843
* After the CLI application has been terminated we will always flush messages.
49-
*
50-
* @param ConsoleTerminateEvent $event
5144
*/
5245
public function onCliTerminate(ConsoleTerminateEvent $event)
5346
{

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ public function getProxyCode(Definition $definition)
110110
/**
111111
* Produces the proxy class name for the given definition.
112112
*
113-
* @param Definition $definition
114-
*
115113
* @return string
116114
*/
117115
private function getProxyClassName(Definition $definition)
@@ -120,8 +118,6 @@ private function getProxyClassName(Definition $definition)
120118
}
121119

122120
/**
123-
* @param Definition $definition
124-
*
125121
* @return ClassGenerator
126122
*/
127123
private function generateProxyClass(Definition $definition)

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ class HttpKernelExtension extends AbstractExtension
2525
{
2626
private $handler;
2727

28-
/**
29-
* @param FragmentHandler $handler A FragmentHandler instance
30-
*/
3128
public function __construct(FragmentHandler $handler)
3229
{
3330
$this->handler = $handler;

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

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,10 @@
1616
*/
1717
class Scope
1818
{
19-
/**
20-
* @var Scope|null
21-
*/
2219
private $parent;
23-
24-
/**
25-
* @var array
26-
*/
2720
private $data = array();
28-
29-
/**
30-
* @var bool
31-
*/
3221
private $left = false;
3322

34-
/**
35-
* @param Scope $parent
36-
*/
3723
public function __construct(Scope $parent = null)
3824
{
3925
$this->parent = $parent;

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ private function getReadDomainFromArguments(Node $arguments, $index)
123123
}
124124

125125
/**
126-
* @param Node $node
127-
*
128126
* @return string|null
129127
*/
130128
private function getReadDomainFromNode(Node $node)

src/Symfony/Bridge/Twig/TokenParser/FormThemeTokenParser.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ class FormThemeTokenParser extends AbstractTokenParser
2727
/**
2828
* Parses a token and returns a node.
2929
*
30-
* @param Token $token
31-
*
3230
* @return Node
3331
*/
3432
public function parse(Token $token)

src/Symfony/Bridge/Twig/TokenParser/TransChoiceTokenParser.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ class TransChoiceTokenParser extends TransTokenParser
2929
/**
3030
* Parses a token and returns a node.
3131
*
32-
* @param Token $token
33-
*
3432
* @return Node
3533
*
3634
* @throws SyntaxError

src/Symfony/Bridge/Twig/TokenParser/TransDefaultDomainTokenParser.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ class TransDefaultDomainTokenParser extends AbstractTokenParser
2626
/**
2727
* Parses a token and returns a node.
2828
*
29-
* @param Token $token
30-
*
3129
* @return Node
3230
*/
3331
public function parse(Token $token)

src/Symfony/Bridge/Twig/TokenParser/TransTokenParser.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ class TransTokenParser extends AbstractTokenParser
3030
/**
3131
* Parses a token and returns a node.
3232
*
33-
* @param Token $token
34-
*
3533
* @return Node
3634
*
3735
* @throws SyntaxError

src/Symfony/Bundle/FrameworkBundle/CacheWarmer/RouterCacheWarmer.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ class RouterCacheWarmer implements CacheWarmerInterface
2424
{
2525
protected $router;
2626

27-
/**
28-
* @param RouterInterface $router A Router instance
29-
*/
3027
public function __construct(RouterInterface $router)
3128
{
3229
$this->router = $router;

0 commit comments

Comments
 (0)