From 0fb1664eb4dda6d7c411df5428aadb67c463b96e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Par=C3=A1da=20J=C3=B3zsef?= Date: Mon, 25 Jan 2016 18:52:24 +0100 Subject: [PATCH] [Form] Remove unused private method --- src/Symfony/Component/Form/Form.php | 15 --------------- 1 file changed, 15 deletions(-) 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), ' '); - } }