8000 [3.3] More docblock fixes by nicolas-grekas · Pull Request #24858 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[3.3] More docblock fixes #24858

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@

class StringWrapper
{
/**
* @var string
*/
private $string;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ public function handleError($type, $msg, $file, $line, $context = array())
}

/**
* @param Test $test
* @param TestCase $test
*
* @return bool
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,6 @@ private function getContainerDefinitionDocument(Definition $definition, $id = nu
}

/**
* @param array $arguments
*
* @return \DOMNode[]
*/
private function getArgumentNodes(array $arguments, \DOMDocument $dom)
Expand Down Expand Up @@ -521,10 +519,6 @@ private function getEventDispatcherListenersDocument(EventDispatcherInterface $e
return $dom;
}

/**
* @param \DOMElement $element
* @param array $eventListeners
*/
private function appendEventListenerDocument(EventDispatcherInterface $eventDispatcher, $event, \DOMElement $element, array $eventListeners)
{
foreach ($eventListeners as $listener) {
Expand Down
4 changes: 0 additions & 4 deletions src/Symfony/Component/Cache/Adapter/PhpArrayAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,6 @@ public function commit()
}

/**
* Generator for items.
*
* @param array $keys
*
* @return \Generator
*/
private function generateItems(array $keys)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
*/
class ResourceCheckerConfigCacheFactory implements ConfigCacheFactoryInterface
{
/**
* @var iterable|ResourceCheckerInterface[]
*/
private $resourceCheckers = array();

/**
Expand Down
4 changes: 1 addition & 3 deletions src/Symfony/Component/Console/Descriptor/TextDescriptor.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,9 @@ private function writeText($content, array $options = array())
/**
* Formats command aliases to show them in the command description.
*
* @param Command $command
*
* @return string
*/
private function getCommandAliasesText($command)
private function getCommandAliasesText(Command $command)
{
$text = '';
$aliases = $command->getAliases();
Expand Down
4 changes: 1 addition & 3 deletions src/Symfony/Component/Console/Helper/Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,8 @@ private function getRowColumns(array $row)

/**
* Calculates columns widths.
*
* @param array $rows
*/
private function calculateColumnsWidth($rows)
private function calculateColumnsWidth(array $rows)
{
for ($column = 0; $column < $this->numberOfColumns; ++$column) {
$lengths = array();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/
class RequestDataCollector extends DataCollector implements EventSubscriberInterface, LateDataCollectorInterface
{
/** @var \SplObjectStorage */
protected $controllers;

public function __construct()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ public function getArguments()
return $this->arguments;
}

/**
* @param array $arguments
*/
public function setArguments(array $arguments)
{
$this->arguments = $arguments;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ public function getController()
return $this->controller;
}

/**
* Sets a new controller.
*
* @param callable $controller
*/
public function setController(callable $controller)
{
$this->controller = $controller;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ public function onKernelRequest(GetResponseEvent $event)
/**
* Checks if session was initialized and saves if current request is master
* Runs on 'kernel.response' in test environment.
*
* @param FilterResponseEvent $event
*/
public function onKernelResponse(FilterResponseEvent $event)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ public function handle(HttpCache $cache, $uri, $alt, $ignoreErrors)

/**
* Remove the Surrogate from the Surrogate-Control header.
*
* @param Response $response
*/
protected function removeFromControl(Response $response)
{
Expand Down
2 changes: 0 additions & 2 deletions src/Symfony/Component/HttpKernel/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -495,8 +495,6 @@ protected function initializeBundles()
* The extension point similar to the Bundle::build() method.
*
* Use this method to register compiler passes and manipulate the container during the building process.
*
* @param ContainerBuilder $container
*/
protected function build(ContainerBuilder $container)
{
Expand Down
3 changes: 0 additions & 3 deletions src/Symfony/Component/Routing/RouteCompiler.php