Skip to content

Commit 58a8254

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: Fix CS
2 parents 8b14549 + 8677460 commit 58a8254

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Node/Node.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function __toString()
4343
$attributes[] = sprintf('%s: %s', $name, str_replace("\n", '', var_export($value, true)));
4444
}
4545

46-
$repr = [str_replace('Symfony\Component\ExpressionLanguage\Node\\', '', \get_class($this)).'('.implode(', ', $attributes)];
46+
$repr = [str_replace('Symfony\Component\ExpressionLanguage\Node\\', '', static::class).'('.implode(', ', $attributes)];
4747

4848
if (\count($this->nodes)) {
4949
foreach ($this->nodes as $node) {
@@ -79,7 +79,7 @@ public function evaluate($functions, $values)
7979

8080
public function toArray()
8181
{
82-
throw new \BadMethodCallException(sprintf('Dumping a "%s" instance is not supported yet.', \get_class($this)));
82+
throw new \BadMethodCallException(sprintf('Dumping a "%s" instance is not supported yet.', static::class));
8383
}
8484

8585
public function dump()

0 commit comments

Comments
 (0)