wp/wp-includes/class-wp-error.php
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
--- a/wp/wp-includes/class-wp-error.php	Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-includes/class-wp-error.php	Tue Sep 27 16:37:53 2022 +0200
@@ -103,7 +103,7 @@
 	 * @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.