mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
23dfd90b29
commit
20dfa51702
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue