mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 19:06:40 +00:00
fixed a phpdoc
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user