Skip to content

Commit 8677460

Browse files
committed
Fix CS
1 parent d6d9a3c commit 8677460

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
@@ -40,7 +40,7 @@ public function __toString()
4040
$attributes[] = sprintf('%s: %s', $name, str_replace("\n", '', var_export($value, true)));
4141
}
4242

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

4545
if (\count($this->nodes)) {
4646
foreach ($this->nodes as $node) {
@@ -76,7 +76,7 @@ public function evaluate($functions, $values)
7676

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

8282
public function dump()

0 commit comments

Comments
 (0)