Skip to content

Commit e065f55

Browse files
fabpotnicolas-grekas
authored andcommitted
removed unneeded phpdocs
1 parent 156e145 commit e065f55

File tree

3 files changed

+8
-16
lines changed

3 files changed

+8
-16
lines changed

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
*/

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
{

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
*/

0 commit comments

Comments
 (0)