Skip to content

Commit

Permalink
Fix a missing inline doc parameter for `bp_attachments_get_component_…
Browse files Browse the repository at this point in the history
…info()`
  • Loading branch information
imath committed Sep 24, 2023
1 parent 9aa3f18 commit d050c9d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bp-attachments/bp-attachments-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down

0 comments on commit d050c9d

Please sign in to comment.