aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/twig/tokenparser/defineparser.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-15 15:05:51 +0200
committerTristan Darricau <github@nicofuma.fr>2014-06-15 19:15:06 +0200
commit0d0113e6da590c113068a60864d44372a2fbccab (patch)
tree8930400497c37cf754c29a52e4034e043307967c /phpBB/phpbb/template/twig/tokenparser/defineparser.php
parente6b422517b17d0f3eb9ccf231ae0e4f5459efdf9 (diff)
downloadforums-0d0113e6da590c113068a60864d44372a2fbccab.tar
forums-0d0113e6da590c113068a60864d44372a2fbccab.tar.gz
forums-0d0113e6da590c113068a60864d44372a2fbccab.tar.bz2
forums-0d0113e6da590c113068a60864d44372a2fbccab.tar.xz
forums-0d0113e6da590c113068a60864d44372a2fbccab.zip
[ticket/12715] Cleanup comments in \phpbb\template\*
PHPBB3-12715
Diffstat (limited to 'phpBB/phpbb/template/twig/tokenparser/defineparser.php')
-rw-r--r--phpBB/phpbb/template/twig/tokenparser/defineparser.php22
1 files changed, 12 insertions, 10 deletions
diff --git a/phpBB/phpbb/template/twig/tokenparser/defineparser.php b/phpBB/phpbb/template/twig/tokenparser/defineparser.php
index 48c4853fe8..cfee84a363 100644
--- a/phpBB/phpbb/template/twig/tokenparser/defineparser.php
+++ b/phpBB/phpbb/template/twig/tokenparser/defineparser.php
@@ -18,12 +18,14 @@ namespace phpbb\template\twig\tokenparser;
class defineparser extends \Twig_TokenParser
{
/**
- * Parses a token and returns a node.
- *
- * @param Twig_Token $token A Twig_Token instance
- *
- * @return Twig_NodeInterface A Twig_NodeInterface instance
- */
+ * Parses a token and returns a node.
+ *
+ * @param \Twig_Token $token A Twig_Token instance
+ *
+ * @return \Twig_NodeInterface A Twig_NodeInterface instance
+ * @throws \Twig_Error_Syntax
+ * @throws \phpbb\template\twig\node\definenode
+ */
public function parse(\Twig_Token $token)
{
$lineno = $token->getLine();
@@ -61,10 +63,10 @@ class defineparser extends \Twig_TokenParser
}
/**
- * Gets the tag name associated with this token parser.
- *
- * @return string The tag name
- */
+ * Gets the tag name associated with this token parser.
+ *
+ * @return string The tag name
+ */
public function getTag()
{
return 'DEFINE';