mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Adding missing returns
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5097 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
b9c1fb8ed8
commit
02cf8e3564
1 changed files with 7 additions and 7 deletions
|
@ -604,35 +604,35 @@ class Folder extends Object{
|
|||
* @see read
|
||||
*/
|
||||
function ls($sort = true, $exceptions = false) {
|
||||
$this->read($sort, $exceptions);
|
||||
return $this->read($sort, $exceptions);
|
||||
}
|
||||
/**
|
||||
* nix flavored alias
|
||||
* @see create
|
||||
*/
|
||||
function mkdir($pathname, $mode = 0755) {
|
||||
$this->create($pathname, $mode);
|
||||
return $this->create($pathname, $mode);
|
||||
}
|
||||
/**
|
||||
* nix flavored alias
|
||||
* @see copy
|
||||
*/
|
||||
function cp($options) {
|
||||
$this->copy($options);
|
||||
return $this->copy($options);
|
||||
}
|
||||
/**
|
||||
* nix flavored alias
|
||||
* @see move
|
||||
*/
|
||||
function mv($options) {
|
||||
$this->move($options);
|
||||
return $this->move($options);
|
||||
}
|
||||
/**
|
||||
* nix flavored alias
|
||||
* @see delete
|
||||
*/
|
||||
function rm($path) {
|
||||
$this->delete($path);
|
||||
return $this->delete($path);
|
||||
}
|
||||
/**
|
||||
*
|
||||
|
@ -640,7 +640,7 @@ class Folder extends Object{
|
|||
* @see chmod
|
||||
*/
|
||||
function chmodr($pathname, $mode = 0755) {
|
||||
$this->chmod($pathname, $mode);
|
||||
return $this->chmod($pathname, $mode);
|
||||
}
|
||||
/**
|
||||
*
|
||||
|
@ -648,7 +648,7 @@ class Folder extends Object{
|
|||
* @see mkdir or create
|
||||
*/
|
||||
function mkdirr($pathname, $mode = 0755) {
|
||||
$this->create($pathname, $mode);
|
||||
return $this->create($pathname, $mode);
|
||||
}
|
||||
}
|
||||
?>
|
Loading…
Add table
Reference in a new issue