Skip to content

Commit

Permalink
[Form] Remove unused private method
Browse files Browse the repository at this point in the history
  • Loading branch information
paradajozsef committed Jan 25, 2016
1 parent 835f109 commit 5eb1d54
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -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), ' ');
}
}

0 comments on commit 5eb1d54

Please sign in to comment.