[DependencyInjection] removed unneeded cast
This commit is contained in:
parent
684ffc83e6
commit
ab7533e6c0
@ -95,7 +95,7 @@ class YamlFileLoader extends FileLoader
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// try to detect loader with the extension
|
// try to detect loader with the extension
|
||||||
switch (pathinfo((string) $import['resource'], PATHINFO_EXTENSION))
|
switch (pathinfo($import['resource'], PATHINFO_EXTENSION))
|
||||||
{
|
{
|
||||||
case 'xml':
|
case 'xml':
|
||||||
$class = 'Symfony\\Components\\DependencyInjection\\Loader\\XmlFileLoader';
|
$class = 'Symfony\\Components\\DependencyInjection\\Loader\\XmlFileLoader';
|
||||||
|
Reference in New Issue
Block a user