Skip to content

Commit 235e5af

Browse files
committed
Fix quotes in exception messages
1 parent 0c8d87a commit 235e5af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Definition/Builder/TreeBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function root($name, $type = 'array', NodeBuilder $builder = null)
6161
public function getRootNode(): NodeDefinition
6262
{
6363
if (null === $this->root) {
64-
throw new \RuntimeException(sprintf('Calling %s() before creating the root node is not supported, migrate to the new constructor signature instead.', __METHOD__));
64+
throw new \RuntimeException(sprintf('Calling "%s()" before creating the root node is not supported, migrate to the new constructor signature instead.', __METHOD__));
6565
}
6666

6767
return $this->root;

0 commit comments

Comments
 (0)