Make WordPress Core


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

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

Follow-up to [9117].

Props ankitmaru, johnbillion.
Fixes #53793.

File:
1 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.
Note: See TracChangeset for help on using the changeset viewer.