minor #33145 [TwigBridge] Replaced plain doc block copies with inheritdoc (derrabus)
This PR was merged into the 3.4 branch.
Discussion
----------
[TwigBridge] Replaced plain doc block copies with inheritdoc
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | preparation for #30323
| License | MIT
| Doc PR | N/A
Commits
-------
e50d3bcf31
[TwigBridge] Replaced plain doc block copies with inheritdoc.
This commit is contained in:
commit
04b411695e
@ -33,9 +33,7 @@ class RoutingExtension extends AbstractExtension
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a list of functions to add to the existing list.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return array An array of functions
|
|
||||||
*/
|
*/
|
||||||
public function getFunctions()
|
public function getFunctions()
|
||||||
{
|
{
|
||||||
|
@ -27,11 +27,7 @@ use Twig\Token;
|
|||||||
class TransChoiceTokenParser extends TransTokenParser
|
class TransChoiceTokenParser extends TransTokenParser
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Parses a token and returns a node.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return Node
|
|
||||||
*
|
|
||||||
* @throws SyntaxError
|
|
||||||
*/
|
*/
|
||||||
public function parse(Token $token)
|
public function parse(Token $token)
|
||||||
{
|
{
|
||||||
@ -82,9 +78,7 @@ class TransChoiceTokenParser extends TransTokenParser
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the tag name associated with this token parser.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The tag name
|
|
||||||
*/
|
*/
|
||||||
public function getTag()
|
public function getTag()
|
||||||
{
|
{
|
||||||
|
@ -24,9 +24,7 @@ use Twig\TokenParser\AbstractTokenParser;
|
|||||||
class TransDefaultDomainTokenParser extends AbstractTokenParser
|
class TransDefaultDomainTokenParser extends AbstractTokenParser
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Parses a token and returns a node.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return Node
|
|
||||||
*/
|
*/
|
||||||
public function parse(Token $token)
|
public function parse(Token $token)
|
||||||
{
|
{
|
||||||
@ -38,9 +36,7 @@ class TransDefaultDomainTokenParser extends AbstractTokenParser
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the tag name associated with this token parser.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The tag name
|
|
||||||
*/
|
*/
|
||||||
public function getTag()
|
public function getTag()
|
||||||
{
|
{
|
||||||
|
@ -28,11 +28,7 @@ use Twig\TokenParser\AbstractTokenParser;
|
|||||||
class TransTokenParser extends AbstractTokenParser
|
class TransTokenParser extends AbstractTokenParser
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Parses a token and returns a node.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return Node
|
|
||||||
*
|
|
||||||
* @throws SyntaxError
|
|
||||||
*/
|
*/
|
||||||
public function parse(Token $token)
|
public function parse(Token $token)
|
||||||
{
|
{
|
||||||
@ -83,9 +79,7 @@ class TransTokenParser extends AbstractTokenParser
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the tag name associated with this token parser.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The tag name
|
|
||||||
*/
|
*/
|
||||||
public function getTag()
|
public function getTag()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user