Correcting class method names

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5314 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-06-20 07:49:50 +00:00
parent 23dfd90b29
commit 20dfa51702

View file

@ -285,7 +285,7 @@ class Folder extends Object{
* @access public
* @static
*/
function correctSlashfor ($path) {
function correctSlashFor($path) {
if ($this->isWindowsPath($path)) {
return '\\';
}
@ -303,7 +303,7 @@ class Folder extends Object{
if ($this->isSlashTerm($path)) {
return $path;
}
return $path . $this->correctSlashfor ($path);
return $path . $this->correctSlashFor($path);
}
/**
* Returns $path with $element added, with correct slash in-between.