minor #15288 [DependencyInjection] Remove unused code in XmlFileLoader (dunglas)
This PR was merged into the 2.3 branch.
Discussion
----------
[DependencyInjection] Remove unused code in XmlFileLoader
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | n/a
| License | MIT
| Doc PR | n/a
Commits
-------
7fa79da
[DependencyInjection] Remove unused code in XmlFileLoader
This commit is contained in:
commit
302b717fce
@ -48,7 +48,7 @@ class XmlFileLoader extends FileLoader
|
||||
$this->parseImports($xml, $path);
|
||||
|
||||
// parameters
|
||||
$this->parseParameters($xml, $path);
|
||||
$this->parseParameters($xml);
|
||||
|
||||
// extensions
|
||||
$this->loadFromExtensions($xml);
|
||||
@ -69,9 +69,8 @@ class XmlFileLoader extends FileLoader
|
||||
* Parses parameters.
|
||||
*
|
||||
* @param SimpleXMLElement $xml
|
||||
* @param string $file
|
||||
*/
|
||||
private function parseParameters(SimpleXMLElement $xml, $file)
|
||||
private function parseParameters(SimpleXMLElement $xml)
|
||||
{
|
||||
if (!$xml->parameters) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user