[DependencyInjection] removed unneeded cast

This commit is contained in:
Fabien Potencier 2010-01-19 14:11:57 +01:00
parent 684ffc83e6
commit ab7533e6c0
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class YamlFileLoader extends FileLoader
else
{
// try to detect loader with the extension
switch (pathinfo((string) $import['resource'], PATHINFO_EXTENSION))
switch (pathinfo($import['resource'], PATHINFO_EXTENSION))
{
case 'xml':
$class = 'Symfony\\Components\\DependencyInjection\\Loader\\XmlFileLoader';