minor #2131 fixed a phpdoc (fabpot)

This PR was merged into the 1.x branch.

Discussion
----------

fixed a phpdoc

Commits
-------

9c08db0 fixed a phpdoc
This commit is contained in:
Fabien Potencier
2016-09-20 10:53:28 -07:00
+4 -4
View File
@@ -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()
{