mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Improve some wp-admin/includes/class-wp-filesystem-*.php docs for @param.
See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@30978 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -126,6 +126,7 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
|
||||
/**
|
||||
* @param string $command
|
||||
* @param bool $returnbool
|
||||
* @return bool|string
|
||||
*/
|
||||
public function run_command( $command, $returnbool = false) {
|
||||
|
||||
@@ -192,7 +193,7 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
|
||||
|
||||
/**
|
||||
* @param string $dir
|
||||
* @return bool
|
||||
* @return bool|string
|
||||
*/
|
||||
public function chdir($dir) {
|
||||
return $this->run_command('cd ' . $dir, true);
|
||||
@@ -215,7 +216,7 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
|
||||
* @param string $file
|
||||
* @param int $mode
|
||||
* @param bool $recursive
|
||||
* @return bool
|
||||
* @return bool|string
|
||||
*/
|
||||
public function chmod($file, $mode = false, $recursive = false) {
|
||||
if ( ! $this->exists($file) )
|
||||
|
||||
Reference in New Issue
Block a user