Skip to content

Commit

Permalink
Merge branch '4.4' into 5.0
Browse files Browse the repository at this point in the history
* 4.4:
  Fix CS
  Fix CS
  • Loading branch information
fabpot committed Feb 4, 2020
2 parents 5a2a012 + cbfef5a commit 938905f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Definition/BaseNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ private static function resolvePlaceholderValue($value)
private function doValidateType($value): void
{
if (null !== $this->handlingPlaceholder && !$this->allowPlaceholders()) {
$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()));
$e->setPath($this->getPath());

throw $e;
Expand Down

0 comments on commit 938905f

Please sign in to comment.