mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 19:06:40 +00:00
fixed a notice in a unit test
This commit is contained in:
@@ -713,6 +713,7 @@ class Twig_Environment
|
||||
if (null === $this->functions) {
|
||||
$this->loadFunctions();
|
||||
}
|
||||
|
||||
$this->functions[$name] = $function;
|
||||
}
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ class Twig_TemplateTest extends Twig_Template
|
||||
{
|
||||
}
|
||||
|
||||
public function getAttribute($object, $item, array $arguments = array(), $type = Twig_Node_Expression_GetAttr::TYPE_ANY, $noStrictCheck = false)
|
||||
public function getAttribute($object, $item, array $arguments = array(), $type = Twig_Node_Expression_GetAttr::TYPE_ANY, $noStrictCheck = false, $lineno = -1)
|
||||
{
|
||||
return parent::getAttribute($object, $item, $arguments, $type);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user