소스 검색

[DependencyInjection] fixed typo

Fabien Potencier 14 년 전
부모
커밋
ce79fa9ba2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php

+ 1 - 1
src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php

@@ -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)));