Skip to content

Commit 852e559

Browse files
committed
minor #14134 [CS] Fix some phpdocs for Twig extensions & templating helpers (stloyd)
This PR was merged into the 2.3 branch. Discussion ---------- [CS] Fix some phpdocs for Twig extensions & templating helpers | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Tests pass? | yes | License | MIT Commits ------- a95f7f3 Fix some phpdocs for Twig extensions & templating helpers
2 parents 7126141 + f7853a6 commit 852e559

File tree

6 files changed

+6
-18
lines changed

6 files changed

+6
-18
lines changed

Templating/Helper/ActionsHelper.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ public function controller($controller, $attributes = array(), $query = array())
5858
}
5959

6060
/**
61-
* Returns the canonical name of this helper.
62-
*
63-
* @return string The canonical name
61+
* {@inheritdoc}
6462
*/
6563
public function getName()
6664
{

Templating/Helper/CodeHelper.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,7 @@ public function formatFileFromText($text)
205205
}
206206

207207
/**
208-
* Returns the canonical name of this helper.
209-
*
210-
* @return string The canonical name
208+
* {@inheritdoc}
211209
*/
212210
public function getName()
213211
{

Templating/Helper/RequestHelper.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ public function getLocale()
5959
}
6060

6161
/**
62-
* Returns the canonical name of this helper.
63-
*
64-
* @return string The canonical name
62+
* {@inheritdoc}
6563
*/
6664
public function getName()
6765
{

Templating/Helper/RouterHelper.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ public function generate($name, $parameters = array(), $referenceType = UrlGener
5050
}
5151

5252
/**
53-
* Returns the canonical name of this helper.
54-
*
55-
* @return string The canonical name
53+
* {@inheritdoc}
5654
*/
5755
public function getName()
5856
{

Templating/Helper/SessionHelper.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ public function hasFlash($name)
6262
}
6363

6464
/**
65-
* Returns the canonical name of this helper.
66-
*
67-
* @return string The canonical name
65+
* {@inheritdoc}
6866
*/
6967
public function getName()
7068
{

Templating/Helper/TranslatorHelper.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ public function transChoice($id, $number, array $parameters = array(), $domain =
5050
}
5151

5252
/**
53-
* Returns the canonical name of this helper.
54-
*
55-
* @return string The canonical name
53+
* {@inheritdoc}
5654
*/
5755
public function getName()
5856
{

0 commit comments

Comments
 (0)