mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-12 02:16:41 +00:00
Fix missing code
This commit is contained in:
@@ -54,4 +54,9 @@ final class TwigTest extends AbstractTwigCallable
|
||||
{
|
||||
return (bool) $this->options['one_mandatory_argument'];
|
||||
}
|
||||
|
||||
public function getMinimalNumberOfRequiredArguments(): int
|
||||
{
|
||||
return parent::getMinimalNumberOfRequiredArguments() + 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user