[DependencyInjection] fixed typo

This commit is contained in:
Fabien Potencier 2011-05-26 08:22:16 +02:00
parent 0b9f3d8eb6
commit ce79fa9ba2

View File

@ -1000,7 +1000,7 @@ EOF;
$that = $this;
$replaceParameters = function ($match) use ($that)
{
return sprintf("'.".$that->dumpParameter(strtolower($match[2])).".'");
return "'.".$that->dumpParameter(strtolower($match[2])).".'";
};
$code = str_replace('%%', '%', preg_replace_callback('/(?<!%)(%)([^%]+)\1/', $replaceParameters, var_export($value, true)));