8000 removed unneeded phpdocs · Simperfit/symfony@7a44ed6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7a44ed6

Browse files
fabpotnicolas-grekas
authored andcommitted
removed unneeded phpdocs
1 parent c04fc48 commit 7a44ed6

Some content is hidden

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

43 files changed

+77
-171
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ abstract class AbstractDoctrineExtension extends Extension
3535
protected $drivers = [];
3636

3737
/**
38-
* @param array $objectManager A configured object manager
39-
* @param ContainerBuilder $container A ContainerBuilder instance
38+
* @param array $objectManager A configured object manager
4039
*
4140
* @throws \InvalidArgumentException
4241
*/

src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ class HttpCache extends BaseHttpCache
2929
protected $kernel;
3030

3131
/**
32-
* @param KernelInterface $kernel A KernelInterface instance
33-
* @param string $cacheDir The cache directory (default used if null)
32+
* @param string $cacheDir The cache directory (default used if null)
3433
*/
3534
public function __construct(KernelInterface $kernel, string $cacheDir = null)
3635
{
@@ -43,9 +42,8 @@ public function __construct(KernelInterface $kernel, string $cacheDir = null)
4342
/**
4443
* Forwards the Request to the backend and returns the Response.
4544
*
46-
* @param Request $request A Request instance
47-
* @param bool $raw Whether to catch exceptions or not
48-
* @param Response $entry A Response instance (the stale entry if present, null otherwise)
45+
* @param bool $raw Whether to catch exceptions or not
46+
* @param Response $entry A Response instance (the stale entry if present, null otherwise)
4947
*
5048
* @return Response A Response instance
5149
*/

src/Symfony/Bundle/FrameworkBundle/Routing/Router.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,8 @@ class Router extends BaseRouter implements WarmableInterface, ServiceSubscriberI
3636
private $paramFetcher;
3737

3838
/**
39-
* @param ContainerInterface $container A ContainerInterface instance
40-
* @param mixed $resource The main resource to load
41-
* @param array $options An array of options
42-
* @param RequestContext $context The context
43-
* @param ContainerInterface|null $parameters A ContainerInterface instance allowing to fetch parameters
44-
* @param LoggerInterface|null $logger
39+
* @param mixed $resource The main resource to load
40+
* @param array $options An array of options
4541
*/
4642
public function __construct(ContainerInterface $container, $resource, array $options = [], RequestContext $context = null, ContainerInterface $parameters = null, LoggerInterface $logger = null, string $defaultLocale = null)
4743
{

src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,9 @@ class Translator extends BaseTranslator implements WarmableInterface
6565
* * debug: Whether to enable debugging or not (false by default)
6666
* * resource_files: List of translation resources available grouped by locale.
6767
*
68-
* @param ContainerInterface $container A ContainerInterface instance
69-
* @param MessageFormatterInterface $formatter The message formatter
70-
* @param string $defaultLocale
71-
* @param array $loaderIds An array of loader Ids
72-
* @param array $options An array of options
68+
* @param string $defaultLocale
69+
* @param array $loaderIds An array of loader Ids
70+
* @param array $options An array of options
7371
*
7472
* @throws InvalidArgumentException
7573
*/

src/Symfony/Bundle/TwigBundle/TemplateIterator.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@ class TemplateIterator implements \IteratorAggregate
3030
private $defaultPath;
3131

3232
/**
33-
* @param KernelInterface $kernel A KernelInterface instance
34-
* @param string $rootDir The directory where global templates can be stored
35-
* @param array $paths Additional Twig paths to warm
36-
* @param string|null $defaultPath The directory where global templates can be stored
33+
* @param string $rootDir The directory where global templates can be stored
34+
* @param array $paths Additional Twig paths to warm
35+
* @param string|null $defaultPath The directory where global templates can be stored
3736
*/
3837
public function __construct(KernelInterface $kernel, string $rootDir, array $paths = [], string $defaultPath = null)
3938
{

src/Symfony/Bundle/WebProfilerBundle/DependencyInjection/WebProfilerExtension.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ class WebProfilerExtension extends Extension
3737
/**
3838
* Loads the web profiler configuration.
3939
*
40-
* @param array $configs An array of configuration settings
41-
* @param ContainerBuilder $container A ContainerBuilder instance
40+
* @param array $configs An array of configuration settings
4241
*/
4342
public function load(array $configs, ContainerBuilder $container)
4443
{

src/Symfony/Component/BrowserKit/CookieJar.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,7 @@ public function updateFromSetCookie(array $setCookies, $uri = null)
140140
/**
141141
* Updates the cookie jar from a Response object.
142142
*
143-
* @param Response $response A Response object
144-
* @param string $uri The base URL
143+
* @param string $uri The base URL
145144
*/
146145
public function updateFromResponse(Response $response, $uri = null)
147146
{

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ final class ProgressBar
5252
private static $formats;
5353

5454
/**
55-
* @param OutputInterface $output An OutputInterface instance
56-
* @param int $max Maximum steps (0 if unknown)
55+
* @param int $max Maximum steps (0 if unknown)
5756
*/
5857
public function __construct(OutputInterface $output, int $max = 0, float $minSecondsBetweenRedraws = 0.1)
5958
{

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -353,9 +353,8 @@ private function mostRecentlyEnteredValue(string $entered)
353353
/**
354354
* Gets a hidden response from user.
355355
*
356-
* @param OutputInterface $output An Output instance
357-
* @param resource $inputStream The handler resource
358-
* @param bool $trimmable Is the answer trimmable
356+
* @param resource $inputStream The handler resource
357+
* @param bool $trimmable Is the answer trimmable
359358
*
360359
* @throws RuntimeException In case the fallback is deactivated and the response cannot be hidden
361360
*/
@@ -416,9 +415,7 @@ private function getHiddenResponse(OutputInterface $output, $inputStream, bool $
416415
/**
417416
* Validates an attempt.
418417
*
419-
* @param callable $interviewer A callable that will ask for a question and return the result
420-
* @param OutputInterface $output An Output instance
421-
* @param Question $question A Question instance
418+
* @param callable $interviewer A callable that will ask for a question and return the result
422419
*
423420
* @return mixed The validated response
424421
*

src/Symfony/Component/ErrorHandler/FatalErrorHandler/FatalErrorHandlerInterface.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ interface FatalErrorHandlerInterface
2323
/**
2424
* Attempts to convert an error into an exception.
2525
*
26-
* @param array $error An array as returned by error_get_last()
27-
* @param FatalErrorException $exception A FatalErrorException instance
26+
* @param array $error An array as returned by error_get_last()
2827
*
2928
* @return FatalErrorException|null A FatalErrorException instance if the class is able to convert the error, null otherwise
3029
*/

0 commit comments

Comments
 (0)
0