[Form] Remove unused private method
This commit is contained in:
parent
1a8003e8fa
commit
0fb1664eb4
@ -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), ' ');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user