Docs: Correct @return type for WP_Filesystem_Base::getnumchmodfromh().

Follow-up to [9117].

Props ankitmaru, johnbillion.
Fixes #53793.
Built from https://develop.svn.wordpress.org/trunk@51494


git-svn-id: http://core.svn.wordpress.org/trunk@51105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-07-27 09:29:01 +00:00
parent 0234409d58
commit e86e6f8771
6 changed files with 7 additions and 7 deletions

View File

@ -408,7 +408,7 @@ class WP_Filesystem_Base {
* @since 2.5.0 * @since 2.5.0
* *
* @param string $mode string The *nix-style file permission. * @param string $mode string The *nix-style file permission.
* @return int octal representation * @return string Octal representation.
*/ */
public function getnumchmodfromh( $mode ) { public function getnumchmodfromh( $mode ) {
$realmode = ''; $realmode = '';
@ -831,7 +831,7 @@ class WP_Filesystem_Base {
* *
* @type string $name Name of the file or directory. * @type string $name Name of the file or directory.
* @type string $perms *nix representation of permissions. * @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 string $owner Owner name or ID.
* @type int $size Size of file in bytes. * @type int $size Size of file in bytes.
* @type int $lastmodunix Last modified unix timestamp. * @type int $lastmodunix Last modified unix timestamp.

View File

@ -588,7 +588,7 @@ class WP_Filesystem_Direct extends WP_Filesystem_Base {
* *
* @type string $name Name of the file or directory. * @type string $name Name of the file or directory.
* @type string $perms *nix representation of permissions. * @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 string $owner Owner name or ID.
* @type int $size Size of file in bytes. * @type int $size Size of file in bytes.
* @type int $lastmodunix Last modified unix timestamp. * @type int $lastmodunix Last modified unix timestamp.

View File

@ -696,7 +696,7 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
* *
* @type string $name Name of the file or directory. * @type string $name Name of the file or directory.
* @type string $perms *nix representation of permissions. * @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 string $owner Owner name or ID.
* @type int $size Size of file in bytes. * @type int $size Size of file in bytes.
* @type int $lastmodunix Last modified unix timestamp. * @type int $lastmodunix Last modified unix timestamp.

View File

@ -609,7 +609,7 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base {
* *
* @type string $name Name of the file or directory. * @type string $name Name of the file or directory.
* @type string $perms *nix representation of permissions. * @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 string $owner Owner name or ID.
* @type int $size Size of file in bytes. * @type int $size Size of file in bytes.
* @type int $lastmodunix Last modified unix timestamp. * @type int $lastmodunix Last modified unix timestamp.

View File

@ -738,7 +738,7 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
* *
* @type string $name Name of the file or directory. * @type string $name Name of the file or directory.
* @type string $perms *nix representation of permissions. * @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 string $owner Owner name or ID.
* @type int $size Size of file in bytes. * @type int $size Size of file in bytes.
* @type int $lastmodunix Last modified unix timestamp. * @type int $lastmodunix Last modified unix timestamp.

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.9-alpha-51493'; $wp_version = '5.9-alpha-51494';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.