From 9c08db01341d43ec02dee3d808c0298d6fdee227 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 20 Sep 2016 10:49:12 -0700 Subject: [PATCH] fixed a phpdoc --- lib/Twig/TokenStream.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Twig/TokenStream.php b/lib/Twig/TokenStream.php index 016f8122a..d73229428 100644 --- a/lib/Twig/TokenStream.php +++ b/lib/Twig/TokenStream.php @@ -24,8 +24,8 @@ class Twig_TokenStream /** * Constructor. * - * @param array $tokens An array of tokens - * @param string $filename The name of the filename which tokens are associated with + * @param array $tokens An array of tokens + * @param string $filename|null The name of the filename which tokens are associated with */ public function __construct(array $tokens, $filename = null) { @@ -144,9 +144,9 @@ class Twig_TokenStream } /** - * Gets the filename associated with this stream. + * Gets the filename associated with this stream (null if not defined). * - * @return string + * @return string|null */ public function getFilename() {