Fix some phpdocs for Twig extensions & templating helpers

This commit is contained in:
stloyd 2015-03-31 15:09:45 +02:00
parent 9215c222ff
commit a95f7f38af
16 changed files with 22 additions and 39 deletions

View File

@ -210,6 +210,9 @@ class CodeExtension extends \Twig_Extension
}, $text);
}
/**
* {@inheritdoc}
*/
public function getName()
{
return 'code';

View File

@ -81,6 +81,9 @@ class HttpKernelExtension extends \Twig_Extension
return new ControllerReference($controller, $attributes, $query);
}
/**
* {@inheritdoc}
*/
public function getName()
{
return 'http_kernel';

View File

@ -89,9 +89,7 @@ class RoutingExtension extends \Twig_Extension
}
/**
* Returns the name of the extension.
*
* @return string The extension name
* {@inheritdoc}
*/
public function getName()
{

View File

@ -52,9 +52,7 @@ class SecurityExtension extends \Twig_Extension
}
/**
* Returns the name of the extension.
*
* @return string The extension name
* {@inheritdoc}
*/
public function getName()
{

View File

@ -99,9 +99,7 @@ class TranslationExtension extends \Twig_Extension
}
/**
* Returns the name of the extension.
*
* @return string The extension name
* {@inheritdoc}
*/
public function getName()
{

View File

@ -56,9 +56,7 @@ class YamlExtension extends \Twig_Extension
}
/**
* Returns the name of the extension.
*
* @return string The extension name
* {@inheritdoc}
*/
public function getName()
{

View File

@ -58,9 +58,7 @@ class ActionsHelper extends Helper
}
/**
* Returns the canonical name of this helper.
*
* @return string The canonical name
* {@inheritdoc}
*/
public function getName()
{

View File

@ -205,9 +205,7 @@ class CodeHelper extends Helper
}
/**
* Returns the canonical name of this helper.
*
* @return string The canonical name
* {@inheritdoc}
*/
public function getName()
{

View File

@ -59,9 +59,7 @@ class RequestHelper extends Helper
}
/**
* Returns the canonical name of this helper.
*
* @return string The canonical name
* {@inheritdoc}
*/
public function getName()
{

View File

@ -50,9 +50,7 @@ class RouterHelper extends Helper
}
/**
* Returns the canonical name of this helper.
*
* @return string The canonical name
* {@inheritdoc}
*/
public function getName()
{

View File

@ -62,9 +62,7 @@ class SessionHelper extends Helper
}
/**
* Returns the canonical name of this helper.
*
* @return string The canonical name
* {@inheritdoc}
*/
public function getName()
{

View File

@ -50,9 +50,7 @@ class TranslatorHelper extends Helper
}
/**
* Returns the canonical name of this helper.
*
* @return string The canonical name
* {@inheritdoc}
*/
public function getName()
{

View File

@ -114,9 +114,7 @@ class LogoutUrlHelper extends Helper
}
/**
* Returns the canonical name of this helper.
*
* @return string The canonical name
* {@inheritdoc}
*/
public function getName()
{

View File

@ -48,9 +48,7 @@ class SecurityHelper extends Helper
}
/**
* Returns the canonical name of this helper.
*
* @return string The canonical name
* {@inheritdoc}
*/
public function getName()
{

View File

@ -62,6 +62,9 @@ class ActionsExtension extends \Twig_Extension
);
}
/**
* {@inheritdoc}
*/
public function getName()
{
return 'actions';

View File

@ -68,9 +68,7 @@ class AssetsExtension extends \Twig_Extension
}
/**
* Returns the name of the extension.
*
* @return string The extension name
* {@inheritdoc}
*/
public function getName()
{