Skip to content

Commit

Permalink
Fix quotes in exception messages
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Mar 16, 2020
1 parent 0c8d87a commit 235e5af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Definition/Builder/TreeBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function root($name, $type = 'array', NodeBuilder $builder = null)
public function getRootNode(): NodeDefinition
{
if (null === $this->root) {
throw new \RuntimeException(sprintf('Calling %s() before creating the root node is not supported, migrate to the new constructor signature instead.', __METHOD__));
throw new \RuntimeException(sprintf('Calling "%s()" before creating the root node is not supported, migrate to the new constructor signature instead.', __METHOD__));
}

return $this->root;
Expand Down

0 comments on commit 235e5af

Please sign in to comment.