Skip to content

Commit 3ff0f4d

Browse files
Merge branch '5.0'
* 5.0: [Lock] remove mention of mongodb [Routing] µtweaks
2 parents 8b97327 + d04ff9a commit 3ff0f4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Loader/XmlFileLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,9 @@ private function parseConfigs(\DOMElement $node, string $path): array
283283

284284
if ($controller = $node->getAttribute('controller')) {
285285
if (isset($defaults['_controller'])) {
286-
$name = $node->hasAttribute('id') ? sprintf('"%s"', $node->getAttribute('id')) : sprintf('the "%s" tag', $node->tagName);
286+
$name = $node->hasAttribute('id') ? sprintf('"%s".', $node->getAttribute('id')) : sprintf('the "%s" tag.', $node->tagName);
287287

288-
throw new \InvalidArgumentException(sprintf('The routing file "%s" must not specify both the "controller" attribute and the defaults key "_controller" for %s.', $path, $name));
288+
throw new \InvalidArgumentException(sprintf('The routing file "%s" must not specify both the "controller" attribute and the defaults key "_controller" for ', $path).$name);
289289
}
290290

291291
$defaults['_controller'] = $controller;

0 commit comments

Comments
 (0)