Docs: Various docblock improvements.

See #54729


git-svn-id: https://develop.svn.wordpress.org/trunk@53299 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2022-04-28 09:44:12 +00:00
parent 832429e9b2
commit 33c08f16d1
12 changed files with 65 additions and 30 deletions

View File

@@ -103,7 +103,7 @@ class WP_Error {
* @since 2.1.0
*
* @param string|int $code Optional. Retrieve messages matching code, if exists.
* @return array Error strings on success, or empty array if there are none.
* @return string[] Error strings on success, or empty array if there are none.
*/
public function get_error_messages( $code = '' ) {
// Return all messages if no code specified.