8000 [Routing] fixed previous merge · lidaa/symfony@9aa8083 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9aa8083

Browse files
committed
[Routing] fixed previous merge
1 parent 5911fb9 commit 9aa8083

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/Symfony/Component/Routing/Loader/XmlFileLoader.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function load($file, $type = null)
4848
continue;
4949
}
5050

51-
$this->parseNode($collection, $node, $path);
51+
$this->parseNode($collection, $node, $path, $file);
5252
}
5353

5454
return $collection;
@@ -58,10 +58,11 @@ public function load($file, $type = null)
5858
* Parses a node from a loaded XML file.
5959
*
6060
* @param RouteCollection $collection the collection to associate with the node
61-
* @param DOMElement $node the node to parse
62-
* @param string $path the path of the XML file being processed
61+
* @param DOMElement $node the node to parse
62+
* @param string $path the path of the XML file being processed
63+
* @param string $file
6364
*/
64-
protected function parseNode(RouteCollection $collection, \DOMElement $node, $path)
65+
protected function parseNode(RouteCollection $collection, \DOMElement $node, $path, $file)
6566
{
6667
switch ($node->tagName) {
6768
case 'route':

0 commit comments

Comments
 (0)
0