Correcting code structure to standards

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-06-20 06:15:35 +00:00
parent a9c0b7e406
commit 23dfd90b29
102 changed files with 1401 additions and 1401 deletions

View file

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