mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-12 18:36:53 +00:00
Remove obsolete method
This commit is contained in:
@@ -23,11 +23,6 @@ abstract class AbstractUnary extends AbstractExpression
|
||||
parent::__construct(['node' => $node], ['with_parentheses' => false], $lineno);
|
||||
}
|
||||
|
||||
public function wrapInParentheses(): void
|
||||
{
|
||||
$this->setAttribute('with_parentheses', true);
|
||||
}
|
||||
|
||||
public function compile(Compiler $compiler): void
|
||||
{
|
||||
if ($this->hasExplicitParentheses()) {
|
||||
|
||||
Reference in New Issue
Block a user