mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +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
|
* @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…
Add table
Reference in a new issue