8000 [Routing] fix CS · symfony/symfony@8f9ff4f · GitHub
[go: up one dir, main page]

Skip to content

Commit 8f9ff4f

Browse files
[Routing] fix CS
1 parent 69b6c90 commit 8f9ff4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Routing/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)
0