diff --git a/src/Symfony/Component/Form/Form.php b/src/Symfony/Component/Form/Form.php index f7d639c0cb113..ed82c27e236f0 100644 --- a/src/Symfony/Component/Form/Form.php +++ b/src/Symfony/Component/Form/Form.php @@ -1137,19 +1137,4 @@ private function viewToNorm($value) return $value; } - - /** - * Utility function for indenting multi-line strings. - * - * @param string $string The string - * @param int $level The number of spaces to use for indentation - * - * @return string The indented string - */ - private static function indent($string, $level) - { - $indentation = str_repeat(' ', $level); - - return rtrim($indentation.str_replace("\n", "\n".$indentation, $string), ' '); - } }