mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Docs: Correct @return type for WP_Filesystem_Base::getnumchmodfromh().
Follow-up to [9117]. Props ankitmaru, johnbillion. Fixes #53793. git-svn-id: https://develop.svn.wordpress.org/trunk@51494 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8a0b871a3d
commit
7bb0a17b46
@ -408,7 +408,7 @@ class WP_Filesystem_Base {
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @param string $mode string The *nix-style file permission.
|
||||
* @return int octal representation
|
||||
* @return string Octal representation.
|
||||
*/
|
||||
public function getnumchmodfromh( $mode ) {
|
||||
$realmode = '';
|
||||
@ -831,7 +831,7 @@ class WP_Filesystem_Base {
|
||||
*
|
||||
* @type string $name Name of the file or directory.
|
||||
* @type string $perms *nix representation of permissions.
|
||||
* @type int $permsn Octal representation of permissions.
|
||||
* @type string $permsn Octal representation of permissions.
|
||||
* @type string $owner Owner name or ID.
|
||||
* @type int $size Size of file in bytes.
|
||||
* @type int $lastmodunix Last modified unix timestamp.
|
||||
|
||||
@ -588,7 +588,7 @@ class WP_Filesystem_Direct extends WP_Filesystem_Base {
|
||||
*
|
||||
* @type string $name Name of the file or directory.
|
||||
* @type string $perms *nix representation of permissions.
|
||||
* @type int $permsn Octal representation of permissions.
|
||||
* @type string $permsn Octal representation of permissions.
|
||||
* @type string $owner Owner name or ID.
|
||||
* @type int $size Size of file in bytes.
|
||||
* @type int $lastmodunix Last modified unix timestamp.
|
||||
|
||||
@ -696,7 +696,7 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
|
||||
*
|
||||
* @type string $name Name of the file or directory.
|
||||
* @type string $perms *nix representation of permissions.
|
||||
* @type int $permsn Octal representation of permissions.
|
||||
* @type string $permsn Octal representation of permissions.
|
||||
* @type string $owner Owner name or ID.
|
||||
* @type int $size Size of file in bytes.
|
||||
* @type int $lastmodunix Last modified unix timestamp.
|
||||
|
||||
@ -609,7 +609,7 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base {
|
||||
*
|
||||
* @type string $name Name of the file or directory.
|
||||
* @type string $perms *nix representation of permissions.
|
||||
* @type int $permsn Octal representation of permissions.
|
||||
* @type string $permsn Octal representation of permissions.
|
||||
* @type string $owner Owner name or ID.
|
||||
* @type int $size Size of file in bytes.
|
||||
* @type int $lastmodunix Last modified unix timestamp.
|
||||
|
||||
@ -738,7 +738,7 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
|
||||
*
|
||||
* @type string $name Name of the file or directory.
|
||||
* @type string $perms *nix representation of permissions.
|
||||
* @type int $permsn Octal representation of permissions.
|
||||
* @type string $permsn Octal representation of permissions.
|
||||
* @type string $owner Owner name or ID.
|
||||
* @type int $size Size of file in bytes.
|
||||
* @type int $lastmodunix Last modified unix timestamp.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user