Skip to content

Commit e50d3bc

Browse files
committed
[TwigBridge] Replaced plain doc block copies with inheritdoc.
1 parent e6b52cc commit e50d3bc

File tree

4 files changed

+7
-25
lines changed

4 files changed

+7
-25
lines changed

src/Symfony/Bridge/Twig/Extension/RoutingExtension.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ public function __construct(UrlGeneratorInterface $generator)
3333
}
3434

3535
/**
36-
* Returns a list of functions to add to the existing list.
37-
*
38-
* @return array An array of functions
36+
* {@inheritdoc}
3937
*/
4038
public function getFunctions()
4139
{

src/Symfony/Bridge/Twig/TokenParser/TransChoiceTokenParser.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@
2727
class TransChoiceTokenParser extends TransTokenParser
2828
{
2929
/**
30-
* Parses a token and returns a node.
31-
*
32-
* @return Node
33-
*
34-
* @throws SyntaxError
30+
* {@inheritdoc}
3531
*/
3632
public function parse(Token $token)
3733
{
@@ -82,9 +78,7 @@ public function decideTransChoiceFork($token)
8278
}
8379

8480
/**
85-
* Gets the tag name associated with this token parser.
86-
*
87-
* @return string The tag name
81+
* {@inheritdoc}
8882
*/
8983
public function getTag()
9084
{

src/Symfony/Bridge/Twig/TokenParser/TransDefaultDomainTokenParser.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
class TransDefaultDomainTokenParser extends AbstractTokenParser
2525
{
2626
/**
27-
* Parses a token and returns a node.
28-
*
29-
* @return Node
27+
* {@inheritdoc}
3028
*/
3129
public function parse(Token $token)
3230
{
@@ -38,9 +36,7 @@ public function parse(Token $token)
3836
}
3937

4038
/**
41-
* Gets the tag name associated with this token parser.
42-
*
43-
* @return string The tag name
39+
* {@inheritdoc}
4440
*/
4541
public function getTag()
4642
{

src/Symfony/Bridge/Twig/TokenParser/TransTokenParser.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@
2828
class TransTokenParser extends AbstractTokenParser
2929
{
3030
/**
31-
* Parses a token and returns a node.
32-
*
33-
* @return Node
34-
*
35-
* @throws SyntaxError
31+
* {@inheritdoc}
3632
*/
3733
public function parse(Token $token)
3834
{
@@ -83,9 +79,7 @@ public function decideTransFork($token)
8379
}
8480

8581
/**
86-
* Gets the tag name associated with this token parser.
87-
*
88-
* @return string The tag name
82+
* {@inheritdoc}
8983
*/
9084
public function getTag()
9185
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy