Skip to content

Commit 6ce0e25

Browse files
committed
[DependencyInjection] Remove unused code in XmlFileLoader
1 parent 973f53c commit 6ce0e25

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Loader/XmlFileLoader.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function load($resource, $type = null)
4848
$this->parseImports($xml, $path);
4949

5050
// parameters
51-
$this->parseParameters($xml, $path);
51+
$this->parseParameters($xml);
5252

5353
// extensions
5454
$this->loadFromExtensions($xml);
@@ -69,9 +69,8 @@ public function supports($resource, $type = null)
6969
* Parses parameters.
7070
*
7171
* @param SimpleXMLElement $xml
72-
* @param string $file
7372
*/
74-
private function parseParameters(SimpleXMLElement $xml, $file)
73+
private function parseParameters(SimpleXMLElement $xml)
7574
{
7675
if (!$xml->parameters) {
7776
return;

0 commit comments

Comments
 (0)