[DependencyInjection] removed unneeded code
This commit is contained in:
parent
b333379e5c
commit
76e2a66146
@ -71,7 +71,7 @@ class XmlFileLoader extends FileLoader
|
||||
{
|
||||
if (!$xml->parameters)
|
||||
{
|
||||
return array();
|
||||
return;
|
||||
}
|
||||
|
||||
$configuration->addParameters($xml->parameters->getArgumentsAsPhp('parameter'));
|
||||
@ -111,7 +111,7 @@ class XmlFileLoader extends FileLoader
|
||||
{
|
||||
if (!$xml->services)
|
||||
{
|
||||
return array();
|
||||
return;
|
||||
}
|
||||
|
||||
$definitions = array();
|
||||
|
Reference in New Issue
Block a user