Docs: Document WP_Roles properties with typed array notation.

Props stevenlinx

Fixes #38732
See #41756 

Built from https://develop.svn.wordpress.org/trunk@42870


git-svn-id: http://core.svn.wordpress.org/trunk@42700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2018-03-22 18:56:33 +00:00
parent 89cb4caddc
commit 7f36bbbdf1
2 changed files with 5 additions and 5 deletions

View File

@ -28,7 +28,7 @@ class WP_Roles {
* List of roles and capabilities.
*
* @since 2.0.0
* @var array
* @var array[]
*/
public $roles;
@ -36,7 +36,7 @@ class WP_Roles {
* List of the role objects.
*
* @since 2.0.0
* @var array
* @var WP_Role[]
*/
public $role_objects = array();
@ -44,7 +44,7 @@ class WP_Roles {
* List of role names.
*
* @since 2.0.0
* @var array
* @var string[]
*/
public $role_names = array();
@ -254,7 +254,7 @@ class WP_Roles {
*
* @since 2.0.0
*
* @return array List of role names.
* @return string[] List of role names.
*/
public function get_names() {
return $this->role_names;

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-alpha-42866';
$wp_version = '5.0-alpha-42870';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.