From d050c9d333b7768a9d982c461d6f63a048e17e28 Mon Sep 17 00:00:00 2001 From: imath Date: Sun, 24 Sep 2023 06:10:39 +0200 Subject: [PATCH] Fix a missing inline doc parameter for `bp_attachments_get_component_info()` --- bp-attachments/bp-attachments-loader.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bp-attachments/bp-attachments-loader.php b/bp-attachments/bp-attachments-loader.php index cd6d4ba..016f89f 100644 --- a/bp-attachments/bp-attachments-loader.php +++ b/bp-attachments/bp-attachments-loader.php @@ -72,8 +72,9 @@ function bp_attachments_component() { * * @since 1.0.0 * - * @param array $components The list of available BuddyPress components. - * @return array The list of available BuddyPress components, including the Attachments one. + * @param array $components The list of available BuddyPress components. + * @param string $type The component's type (optional, required, retired..). + * @return array The list of available BuddyPress components, including the Attachments one. */ function bp_attachments_get_component_info( $components = array(), $type = '' ) { if ( 'optional' !== $type ) {