From e3957f278e513527fd255f9665dc65dcd0fea6ad Mon Sep 17 00:00:00 2001 From: "Drew Jaynes (DrewAPicture)" Date: Wed, 3 Dec 2014 10:10:07 +0000 Subject: [PATCH] Use the correct hash notation syntax for the `WP_Filesystem_Base::dirlist()` DocBlock. See #28298. git-svn-id: https://develop.svn.wordpress.org/trunk@30722 602fd350-edb4-49c9-b593-d223f7449a82 --- .../includes/class-wp-filesystem-base.php | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/wp-admin/includes/class-wp-filesystem-base.php b/src/wp-admin/includes/class-wp-filesystem-base.php index 5192c06d38..9b8ddb041b 100644 --- a/src/wp-admin/includes/class-wp-filesystem-base.php +++ b/src/wp-admin/includes/class-wp-filesystem-base.php @@ -787,6 +787,7 @@ class WP_Filesystem_Base { * * @since 2.5.0 * @abstract + * * @param string $path Path to directory or file. * @param bool $include_hidden Optional. Whether to include details of hidden ("." prefixed) files. * Default true. @@ -795,16 +796,16 @@ class WP_Filesystem_Base { * @return array|bool { * Array of files. False if unable to list directory contents. * - * @type string 'name' Name of the file/directory. - * @type string 'perms' *nix representation of permissions. - * @type int '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. - * @type mixed 'lastmod' Last modified month (3 letter) and day (without leading 0). - * @type int 'time' Last modified time. - * @type string 'type' Type of resource. 'f' for file, 'd' for directory. - * @type mixed 'files' If a directory and $recursive is true, contains another array of files. + * @type string $name Name of the file/directory. + * @type string $perms *nix representation of permissions. + * @type int $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. + * @type mixed $lastmod Last modified month (3 letter) and day (without leading 0). + * @type int $time Last modified time. + * @type string $type Type of resource. 'f' for file, 'd' for directory. + * @type mixed $files If a directory and $recursive is true, contains another array of files. * } */ public function dirlist( $path, $include_hidden = true, $recursive = false ) {