mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-30 12:06:56 +00:00
Fix previous merge
This commit is contained in:
@@ -39,4 +39,9 @@ class Twig_Test_Method extends Twig_Test
|
||||
{
|
||||
return sprintf('$this->env->getExtension(\'%s\')->%s', \get_class($this->extension), $this->method);
|
||||
}
|
||||
|
||||
public function hasOneMandatoryArgument(): bool
|
||||
{
|
||||
return (bool) ($this->options['one_mandatory_argument'] ?? false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user