Skip to content

Commit 83399f8

Browse files
[Routing] fix CS
1 parent 7f995ab commit 83399f8

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
@@ -301,9 +301,9 @@ private function parseConfigs(\DOMElement $node, string $path): array
301301
}
302302
if ($stateless = $node->getAttribute('stateless')) {
303303
if (isset($defaults['_stateless'])) {
304-
$name = $node->hasAttribute('id') ? sprintf('"%s"', $node->getAttribute('id')) : sprintf('the "%s" tag', $node->tagName);
304+
$name = $node->hasAttribute('id') ? sprintf('"%s".', $node->getAttribute('id')) : sprintf('the "%s" tag.', $node->tagName);
305305

306-
throw new \InvalidArgumentException(sprintf('The routing file "%s" must not specify both the "stateless" attribute and the defaults key "_stateless" for %s.', $path, $name));
306+
throw new \InvalidArgumentException(sprintf('The routing file "%s" must not specify both the "stateless" attribute and the defaults key "_stateless" for ', $path).$name);
307307
}
308308

309309
$defaults['_stateless'] = XmlUtils::phpize($stateless);

0 commit comments

Comments
 (0)