We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5a2a012 + cbfef5a commit 938905fCopy full SHA for 938905f
Definition/BaseNode.php
@@ -508,7 +508,7 @@ private static function resolvePlaceholderValue($value)
508
private function doValidateType($value): void
509
{
510
if (null !== $this->handlingPlaceholder && !$this->allowPlaceholders()) {
511
- $e = new InvalidTypeException(sprintf('A dynamic value is not compatible with a "%s" node type at path "%s".', \get_class($this), $this->getPath()));
+ $e = new InvalidTypeException(sprintf('A dynamic value is not compatible with a "%s" node type at path "%s".', static::class, $this->getPath()));
512
$e->setPath($this->getPath());
513
514
throw $e;
0 commit comments