8000 [cs] correct invalid @param types · symfony/symfony@40f2623 · GitHub
[go: up one dir, main page]

Skip to content

Commit 40f2623

Browse files
TomasVotrubanicolas-grekas
authored andcommitted
[cs] correct invalid @param types
1 parent b11ec05 commit 40f2623

File tree

16 files changed

+14
-19
lines changed

16 files changed

+14
-19
lines changed

src/Symfony/Component/Config/ConfigCacheFactoryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ interface ConfigCacheFactoryInterface
2626
* @param string $file The absolute cache file path
2727
* @param callable $callable The callable to be executed when the cache needs to be filled (i. e. is not fresh). The cache will be passed as the only parameter to this callback
2828
*
29-
* @return ConfigCacheInterface $configCache The cache instance
29+
* @return ConfigCacheInterface The cache instance
3030
*/
3131
public function cache($file, $callable);
3232
}

src/Symfony/Component/Config/Definition/ArrayNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function setXmlRemappings(array $remappings)
9292
/**
9393
* Gets the xml remappings that should be performed.
9494
*
95-
* @return array $remappings an array of the form array(array(string, string))
95+
* @return array an array of the form array(array(string, string))
9696
*/
9797
public function getXmlRemappings()
9898
{

src/Symfony/Component/Config/Definition/BaseNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ final public function normalize($value)
245245
*
246246
* @param $value
247247
*
248-
* @return $value The normalized array value
248+
* @return The normalized array value
249249
*/
250250
protected function preNormalize($value)
251251
{

src/Symfony/Component/Config/Definition/Builder/NodeDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ protected function normalization()
327327
/**
328328
* Instantiate and configure the node according to this definition.
329329
*
330-
* @return NodeInterface $node The node instance
330+
* @return NodeInterface The node instance
331331
*
332332
* @throws InvalidDefinitionException When the definition is invalid
333333
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function setCrossingChar($crossingChar)
125125
/**
126126
* Gets crossing character.
127127
*
128-
* @return string $crossin 629A gChar
128+
* @return string
129129
*/
130130
public function getCrossingChar()
131131
{

src/Symfony/Component/Console/Input/InputAwareInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ interface InputAwareInterface
2121
{
2222
/**
2323
* Sets the Console Input.
24-
*
25-
* @param InputInterface
2624
*/
2725
public function setInput(InputInterface $input);
2826
}

src/Symfony/Component/EventDispatcher/GenericEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct($subject = null, array $arguments = array())
3838
/**
3939
* Getter for subject property.
4040
*
41-
* @return mixed $subject The observer subject
41+
* @return mixed The observer subject
4242
*/
4343
public function getSubject()
4444
{

src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ protected function logException(\Exception $exception, $message)
112112
* @param \Exception $exception The thrown exception
113113
* @param Request $request The original request
114114
*
115-
* @return Request $request The cloned request
115+
* @return Request The cloned request
116116
*/
117117
protected function duplicateRequest(\Exception $exception, Request $request)
118118
{

src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function __construct(HttpKernelInterface $kernel, StoreInterface $store,
9393
/**
9494
* Gets the current store.
9595
*
96-
* @return StoreInterface $store A StoreInterface instance
96+
* @return StoreInterface A StoreInterface instance
9797
*/
9898
public function getStore()
9999
{

src/Symfony/Component/Routing/Router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ public function getMatcherDumperInstance()
387387
* Provides the ConfigCache factory implementation, falling back to a
388388
* default implementation if necessary.
389389
*
390-
* @return ConfigCacheFactoryInterface $configCacheFactory
390+
* @return ConfigCacheFactoryInterface
391391
*/
392392
private function getConfigCacheFactory()
393393
{

src/Symfony/Component/Routing/Tests/Matcher/Dumper/PhpMatcherDumperTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,6 @@ public function getRouteCollections()
331331
);
332332
}
333333

334-
/**
335-
* @param $dumper
336-
*/
337334
private function generateDumpedMatcher(RouteCollection $collection, $redirectableStub = false)
338335
{
339336
$options = array('class' => $this->matcherClass);

src/Symfony/Component/Templating/PhpEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ public function setEscaper($context, $escaper)
366366
*
367367
* @param string $context The context name
368368
*
369-
* @return callable $escaper A PHP callable
369+
* @return callable A PHP callable
370370
*
371371
* @throws \InvalidArgumentException
372372
*/

src/Symfony/Component/Translation/DataCollectorTranslator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function getCatalogue($locale = null)
8888
/**
8989
* Gets the fallback locales.
9090
*
91-
* @return array $locales The fallback locales
91+
* @return array The fallback locales
9292
*/
9393
public function getFallbackLocales()
9494
{

src/Symfony/Component/Translation/Dumper/FileDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function setRelativePathTemplate($relativePathTemplate)
5151
/**
5252
* Sets backup flag.
5353
*
54-
* @param bool
54+
* @param bool $backup
5555
*/
5656
public function setBackup($backup)
5757
{

src/Symfony/Component/Translation/LoggingTranslator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function getCatalogue($locale = null)
8888
/**
8989
* Gets the fallback locales.
9090
*
91-
* @return array $locales The fallback locales
91+
* @return array The fallback locales
9292
*/
9393
public function getFallbackLocales()
9494
{

src/Symfony/Component/Translation/Translator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function setFallbackLocales(array $locales)
181181
/**
182182
* Gets the fallback locales.
183183
*
184-
* @return array $locales The fallback locales
184+
* @return array The fallback locales
185185
*/
186186
public function getFallbackLocales()
187187
{

0 commit comments

Comments
 (0)
0