WordPress.org

Make WordPress Core

Changeset 51494


Ignore:
Timestamp:
07/27/2021 09:27:51 AM (4 months ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [9117].

Props ankitmaru, johnbillion.
Fixes #53793.

Location:
trunk/src/wp-admin/includes
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-filesystem-base.php

    r50657 r51494  
    409409     *
    410410     * @param string $mode string The *nix-style file permission.
    411      * @return int octal representation
     411     * @return string Octal representation.
    412412     */
    413413    public function getnumchmodfromh( $mode ) {
     
    832832     *     @type string $name        Name of the file or directory.
    833833     *     @type string $perms       *nix representation of permissions.
    834      *     @type int    $permsn      Octal representation of permissions.
     834     *     @type string $permsn      Octal representation of permissions.
    835835     *     @type string $owner       Owner name or ID.
    836836     *     @type int    $size        Size of file in bytes.
  • trunk/src/wp-admin/includes/class-wp-filesystem-direct.php

    r50657 r51494  
    589589     *     @type string $name        Name of the file or directory.
    590590     *     @type string $perms       *nix representation of permissions.
    591      *     @type int    $permsn      Octal representation of permissions.
     591     *     @type string $permsn      Octal representation of permissions.
    592592     *     @type string $owner       Owner name or ID.
    593593     *     @type int    $size        Size of file in bytes.
  • trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php

    r50657 r51494  
    697697     *     @type string $name        Name of the file or directory.
    698698     *     @type string $perms       *nix representation of permissions.
    699      *     @type int    $permsn      Octal representation of permissions.
     699     *     @type string $permsn      Octal representation of permissions.
    700700     *     @type string $owner       Owner name or ID.
    701701     *     @type int    $size        Size of file in bytes.
  • trunk/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php

    r50657 r51494  
    610610     *     @type string $name        Name of the file or directory.
    611611     *     @type string $perms       *nix representation of permissions.
    612      *     @type int    $permsn      Octal representation of permissions.
     612     *     @type string $permsn      Octal representation of permissions.
    613613     *     @type string $owner       Owner name or ID.
    614614     *     @type int    $size        Size of file in bytes.
  • trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php

    r50657 r51494  
    739739     *     @type string $name        Name of the file or directory.
    740740     *     @type string $perms       *nix representation of permissions.
    741      *     @type int    $permsn      Octal representation of permissions.
     741     *     @type string $permsn      Octal representation of permissions.
    742742     *     @type string $owner       Owner name or ID.
    743743     *     @type int    $size        Size of file in bytes.
Note: See TracChangeset for help on using the changeset viewer.