Remove obsolete method

This commit is contained in:
Fabien Potencier
2024-09-30 12:00:38 +02:00
parent e49768a3d7
commit b46ca43f61
@@ -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()) {