mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
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:
parent
a9c0b7e406
commit
23dfd90b29
102 changed files with 1401 additions and 1401 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue