mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-17 01:05:33 +00:00
Merge branch '3.x' into 4.x
* 3.x: [Doc] Document about `html` and `html_attr` strategies Improve date methods phpdoc Fix deprecation messages Use a more precise return type in AbstractTwigCallable fix the handling of predefined arguments in CallExpression Allow Twig callable arguments to use camel or snake names fix intl-extra tests fix typo
This commit is contained in:
@@ -92,6 +92,9 @@ abstract class AbstractTwigCallable implements TwigCallableInterface
|
||||
return $this->options['needs_context'];
|
||||
}
|
||||
|
||||
/**
|
||||
* @return static
|
||||
*/
|
||||
public function withDynamicArguments(string $name, string $dynamicName, array $arguments): self
|
||||
{
|
||||
$new = clone $this;
|
||||
|
||||
Reference in New Issue
Block a user