@@ -142,7 +142,7 @@ static function ( $section ) {
142142 *
143143 * @since 6.7.0
144144 *
145- * @return array
145+ * @return array<string, string|array> The debug data for the Info screen.
146146 */
147147 private static function get_wp_core (): array {
148148 // Save few function calls.
@@ -305,7 +305,7 @@ private static function get_wp_core(): array {
305305 *
306306 * @since 6.7.0
307307 *
308- * @return array
308+ * @return array<string, string|bool|array> The drop-ins debug data.
309309 */
310310 private static function get_wp_dropins (): array {
311311 // Get a list of all drop-in replacements.
@@ -340,7 +340,7 @@ private static function get_wp_dropins(): array {
340340 *
341341 * @since 6.7.0
342342 *
343- * @return array
343+ * @return array<string, string|array> The server-related debug data.
344344 */
345345 private static function get_wp_server (): array {
346346 // Populate the server debug fields.
@@ -561,7 +561,7 @@ private static function get_wp_server(): array {
561561 * @since 6.7.0
562562 *
563563 * @throws ImagickException
564- * @return array
564+ * @return array<string, string|array> The media handling debug data.
565565 */
566566 private static function get_wp_media (): array {
567567 // Spare few function calls.
@@ -773,7 +773,7 @@ private static function get_wp_media(): array {
773773 *
774774 * @since 6.7.0
775775 *
776- * @return array
776+ * @return array<string, string|bool|array> The must-use plugins debug data.
777777 */
778778 private static function get_wp_mu_plugins (): array {
779779 // List must use plugins if there are any.
@@ -904,7 +904,7 @@ private static function get_wp_paths_sizes(): ?array {
904904 *
905905 * @since 6.7.0
906906 *
907- * @return array
907+ * @return array<string, string|bool|array> The active plugins debug data.
908908 */
909909 private static function get_wp_plugins_active (): array {
910910 return array (
@@ -919,7 +919,7 @@ private static function get_wp_plugins_active(): array {
919919 *
920920 * @since 6.7.0
921921 *
922- * @return array
922+ * @return array<string, string|bool|array> The inactive plugins debug data.
923923 */
924924 private static function get_wp_plugins_inactive (): array {
925925 return array (
@@ -934,7 +934,7 @@ private static function get_wp_plugins_inactive(): array {
934934 *
935935 * @since 6.7.0
936936 *
937- * @return array
937+ * @return array<string, array<string, array<string, string>>> The raw plugin debug data for active and inactive plugins.
938938 */
939939 private static function get_wp_plugins_raw_data (): array {
940940 // List all available plugins.
@@ -1057,7 +1057,7 @@ private static function get_wp_plugins_raw_data(): array {
10571057 *
10581058 * @global array $_wp_theme_features
10591059 *
1060- * @return array
1060+ * @return array<string, string|array> The active theme debug data.
10611061 */
10621062 private static function get_wp_active_theme (): array {
10631063 global $ _wp_theme_features ;
@@ -1201,7 +1201,7 @@ private static function get_wp_active_theme(): array {
12011201 *
12021202 * @since 6.7.0
12031203 *
1204- * @return array
1204+ * @return array<string, string|array> The parent theme debug data.
12051205 */
12061206 private static function get_wp_parent_theme (): array {
12071207 $ theme_updates = get_theme_updates ();
@@ -1313,7 +1313,7 @@ private static function get_wp_parent_theme(): array {
13131313 *
13141314 * @since 6.7.0
13151315 *
1316- * @return array
1316+ * @return array<string, string|bool|array> The inactive themes debug data.
13171317 */
13181318 private static function get_wp_themes_inactive (): array {
13191319 $ active_theme = wp_get_theme ();
@@ -1444,7 +1444,7 @@ private static function get_wp_themes_inactive(): array {
14441444 *
14451445 * @since 6.7.0
14461446 *
1447- * @return array
1447+ * @return array<string, string|array> The WordPress constants debug data.
14481448 */
14491449 private static function get_wp_constants (): array {
14501450 // Check if WP_DEBUG_LOG is set.
@@ -1613,7 +1613,7 @@ private static function get_wp_constants(): array {
16131613 *
16141614 * @global wpdb $wpdb WordPress database abstraction object.
16151615 *
1616- * @return array
1616+ * @return array<string, string|array> The database debug data.
16171617 */
16181618 private static function get_wp_database (): array {
16191619 global $ wpdb ;
@@ -1695,7 +1695,7 @@ private static function get_wp_database(): array {
16951695 *
16961696 * @since 6.7.0
16971697 *
1698- * @return array
1698+ * @return array<string, string|array> The debug data and other information for the Info screen.
16991699 */
17001700 private static function get_wp_filesystem (): array {
17011701 $ upload_dir = wp_upload_dir ();
0 commit comments