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:
Scott Taylor
2014-12-20 20:39:41 +00:00
parent 6695ac3bab
commit 04ed6499cd
5 changed files with 7 additions and 6 deletions

View File

@@ -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) )