Fix previous merge

This commit is contained in:
Fabien Potencier
2020-08-23 14:19:17 +02:00
parent 7fb5d8ee34
commit d14dab78ce
+5
View File
@@ -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);
}
}