Skip to content

Commit 044de92

Browse files
Merge branch '3.4' into 4.3
* 3.4: Remove superfluous phpdoc tags
2 parents a51dd70 + d25a40f commit 044de92

14 files changed

+28
-67
lines changed

Argument/RewindableGenerator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class RewindableGenerator implements \IteratorAggregate, \Countable
2020
private $count;
2121

2222
/**
23-
* @param callable $generator
2423
* @param int|callable $count
2524
*/
2625
public function __construct(callable $generator, $count)

Compiler/AbstractRecursivePass.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ protected function processValue($value, $isRoot = false)
105105
}
106106

107107
/**
108-
* @param Definition $definition
109-
* @param bool $required
108+
* @param bool $required
110109
*
111110
* @return \ReflectionFunctionAbstract|null
112111
*
@@ -161,8 +160,7 @@ protected function getConstructor(Definition $definition, $required)
161160
}
162161

163162
/**
164-
* @param Definition $definition
165-
* @param string $method
163+
* @param string $method
166164
*
167165
* @throws RuntimeException
168166
*

Compiler/AutowirePass.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,6 @@ private function doProcessValue($value, $isRoot = false)
137137
return $value;
138138
}
139139

140-
/**
141-
* @param \ReflectionClass $reflectionClass
142-
*
143-
* @return array
144-
*/
145140
private function autowireCalls(\ReflectionClass $reflectionClass, bool $isRoot): array
146141
{
147142
$this->decoratedId = null;

Compiler/Compiler.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@ public function getServiceReferenceGraph()
5454
/**
5555
* Adds a pass to the PassConfig.
5656
*
57-
* @param CompilerPassInterface $pass A compiler pass
58-
* @param string $type The type of the pass
59-
* @param int $priority Used to sort the passes
57+
* @param CompilerPassInterface $pass A compiler pass
58+
* @param string $type The type of the pass
6059
*/
6160
public function addPass(CompilerPassInterface $pass, $type = PassConfig::TYPE_BEFORE_OPTIMIZATION, int $priority = 0)
6261
{

Compiler/PassConfig.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,8 @@ public function getPasses()
110110
/**
111111
* Adds a pass.
112112
*
113-
* @param CompilerPassInterface $pass A Compiler pass
114-
* @param string $type The pass type
115-
* @param int $priority Used to sort the passes
113+
* @param CompilerPassInterface $pass A Compiler pass
114+
* @param string $type The pass type
116115
*
117116
* @throws InvalidArgumentException when a pass type doesn't exist
118117
*/

Compiler/PriorityTaggedServiceTrait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ trait PriorityTaggedServiceTrait
3535
* @see https://bugs.php.net/60926
3636
*
3737
* @param string|TaggedIteratorArgument $tagName
38-
* @param ContainerBuilder $container
3938
*
4039
* @return Reference[]
4140
*/

Compiler/ServiceLocatorTagPass.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,8 @@ protected function processValue($value, $isRoot = false)
8787
}
8888

8989
/**
90-
* @param ContainerBuilder $container
91-
* @param Reference[] $refMap
92-
* @param string|null $callerId
90+
* @param Reference[] $refMap
91+
* @param string|null $callerId
9392
*
9493
* @return Reference
9594
*/

ContainerBuilder.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,6 @@ public function getReflectionClass(?string $class, bool $throw = true): ?\Reflec
384384
* @param bool|string $trackContents Whether to track contents of the given resource. If a string is passed,
385385
* it will be used as pattern for tracking contents of the requested directory
386386
*
387-
* @return bool
388-
*
389387
* @final
390388
*/
391389
public function fileExists(string $path, $trackContents = true): bool
@@ -1635,7 +1633,6 @@ private function callMethod($service, $call, array &$inlineServices)
16351633
/**
16361634
* Shares a given service in the container.
16371635
*
1638-
* @param Definition $definition
16391636
* @param mixed $service
16401637
* @param string|null $id
16411638
*/

Definition.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,8 +857,6 @@ public function getBindings()
857857
* injected in the matching parameters (of the constructor, of methods
858858
* called and of controller actions).
859859
*
860-
* @param array $bindings
861-
*
862860
* @return $this
863861
*/
864862
public function setBindings(array $bindings)

Dumper/XmlDumper.php

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,8 @@ private function addMethodCalls(array $methodcalls, \DOMElement $parent)
9494
/**
9595
* Adds a service.
9696
*
97-
* @param Definition $definition
98-
* @param string $id
99-
* @param \DOMElement $parent
97+
* @param Definition $definition
98+
* @param string $id
10099
*/
101100
private function addService($definition, $id, \DOMElement $parent)
102101
{
@@ -218,9 +217,7 @@ private function addService($definition, $id, \DOMElement $parent)
218217
/**
219218
* Adds a service alias.
220219
*
221-
* @param string $alias
222-
* @param Alias $id
223-
* @param \DOMElement $parent
220+
* @param string $alias
224221
*/
225222
private function addServiceAlias($alias, Alias $id, \DOMElement $parent)
226223
{
@@ -266,10 +263,8 @@ private function addServices(\DOMElement $parent)
266263
/**
267264
* Converts parameters.
268265
*
269-
* @param array $parameters
270-
* @param string $type
271-
* @param \DOMElement $parent
272-
* @param string $keyAttribute
266+
* @param string $type
267+
* @param string $keyAttribute
273268
*/
274269
private function convertParameters(array $parameters, $type, \DOMElement $parent, $keyAttribute = 'key')
275270
{

0 commit comments

Comments
 (0)