8000 [DependencyInjection] fixed typo · corra/symfony@ce79fa9 · GitHub
[go: up one dir, main page]

Skip to content

Commit ce79fa9

Browse files
committed
[DependencyInjection] fixed typo
1 parent 0b9f3d8 commit ce79fa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ private function dumpValue($value, $interpolate = true)
10001000
$that = $this;
10011001
$replaceParameters = function ($match) use ($that)
10021002
{
1003-
return sprintf("'.".$that->dumpParameter(strtolower($match[2])).".'");
1003+
return "'.".$that->dumpParameter(strtolower($match[2])).".'";
10041004
};
10051005

10061006
$code = str_replace('%%', '%', preg_replace_callback('/(?<!%)(%)([^%]+)\1/', $replaceParameters, var_export($value, true)));

0 commit comments

Comments
 (0)
0