Skip to content

Commit 7bcb90f

Browse files
minor symfony#24858 [3.3] More docblock fixes (nicolas-grekas)
This PR was merged into the 3.3 branch. Discussion ---------- [3.3] More docblock fixes | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 7b6caba [3.3] More docblock fixes
2 parents d3d32d9 + 7b6caba commit 7bcb90f

File tree

19 files changed

+6
-67
lines changed

19 files changed

+6
-67
lines changed

src/Symfony/Bridge/Doctrine/Tests/Fixtures/Type/StringWrapper.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313

1414
class StringWrapper
1515
{
16-
/**
17-
* @var string
18-
*/
1916
private $string;
2017

2118
/**

src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ public function handleError($type, $msg, $file, $line, $context = array())
340340
}
341341

342342
/**
343-
* @param Test $test
343+
* @param TestCase $test
344344
*
345345
* @return bool
346346
*/

src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/XmlDescriptor.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,6 @@ private function getContainerDefinitionDocument(Definition $definition, $id = nu
409409
}
410410

411411
/**
412-
* @param array $arguments
413-
*
414412
* @return \DOMNode[]
415413
*/
416414
private function getArgumentNodes(array $arguments, \DOMDocument $dom)
@@ -521,10 +519,6 @@ private function getEventDispatcherListenersDocument(EventDispatcherInterface $e
521519
return $dom;
522520
}
523521

524-
/**
525-
* @param \DOMElement $element
526-
* @param array $eventListeners
527-
*/
528522
private function appendEventListenerDocument(EventDispatcherInterface $eventDispatcher, $event, \DOMElement $element, array $eventListeners)
529523
{
530524
foreach ($eventListeners as $listener) {

src/Symfony/Component/Cache/Adapter/PhpArrayAdapter.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,6 @@ public function commit()
225225
}
226226

227227
/**
228-
* Generator for items.
229-
*
230-
* @param array $keys
231-
*
232228
* @return \Generator
233229
*/
234230
private function generateItems(array $keys)

src/Symfony/Component/Config/ResourceCheckerConfigCacheFactory.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
*/
2020
class ResourceCheckerConfigCacheFactory implements ConfigCacheFactoryInterface
2121
{
22-
/**
23-
* @var iterable|ResourceCheckerInterface[]
24-
*/
2522
private $resourceCheckers = array();
2623

2724
/**

src/Symfony/Component/Console/Descriptor/TextDescriptor.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,9 @@ private function writeText($content, array $options = array())
253253
/**
254254
* Formats command aliases to show them in the command description.
255255
*
256-
* @param Command $command
257-
*
258256
* @return string
259257
*/
260-
private function getCommandAliasesText($command)
258+
private function getCommandAliasesText(Command $command)
261259
{
262260
$text = '';
263261
$aliases = $command->getAliases();

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -576,10 +576,8 @@ private function getRowColumns(array $row)
576576

577577
/**
578578
* Calculates columns widths.
579-
*
580-
* @param array $rows
581579
*/
582-
private function calculateColumnsWidth($rows)
580+
private function calculateColumnsWidth(array $rows)
583581
{
584582
for ($column = 0; $column < $this->numberOfColumns; ++$column) {
585583
$lengths = array();

src/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
*/
2525
class RequestDataCollector extends DataCollector implements EventSubscriberInterface, LateDataCollectorInterface
2626
{
27-
/** @var \SplObjectStorage */
2827
protected $controllers;
2928

3029
public function __construct()

src/Symfony/Component/HttpKernel/Event/FilterControllerArgumentsEvent.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ public function getArguments()
4545
return $this->arguments;
4646
}
4747

48-
/**
49-
* @param array $arguments
50-
*/
5148
public function setArguments(array $arguments)
5249
{
5350
$this->arguments = $arguments;

src/Symfony/Component/HttpKernel/Event/FilterControllerEvent.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ public function getController()
4646
return $this->controller;
4747
}
4848

49-
/**
50-
* Sets a new controller.
51-
*
52-
* @param callable $controller
53-
*/
5449
public function setController(callable $controller)
5550
{
5651
$this->controller = $controller;

0 commit comments

Comments
 (0)