[Form] Remove unused private method

This commit is contained in:
Paráda József 2016-01-25 18:52:24 +01:00
parent 1a8003e8fa
commit 0fb1664eb4

View File

@ -1137,19 +1137,4 @@ class Form implements \IteratorAggregate, FormInterface
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), ' ');
}
}