diff --git a/plugins/wporg-5ftf/includes/reports.php b/plugins/wporg-5ftf/includes/reports.php index 465d6a4..cd68c65 100644 --- a/plugins/wporg-5ftf/includes/reports.php +++ b/plugins/wporg-5ftf/includes/reports.php @@ -222,7 +222,7 @@ function render_contributor_report_page() { $user_id = get_post_meta( $c->ID, 'wporg_user_id', true ); $xprofile = $all_contributor_data[ $user_id ] ?? [ 'team_names' => [], - 'hours_per_week' => 0 + 'hours_per_week' => 0, ]; $xprofile_teams = $xprofile['team_names'] ?? []; $user = get_user_by( 'ID', $user_id ); diff --git a/plugins/wporg-5ftf/includes/xprofile.php b/plugins/wporg-5ftf/includes/xprofile.php index fa7b25a..59595bc 100644 --- a/plugins/wporg-5ftf/includes/xprofile.php +++ b/plugins/wporg-5ftf/includes/xprofile.php @@ -75,7 +75,7 @@ function get_all_xprofile_contributor_hours_teams(): array { * * @return array */ -function get_all_xprofile_contributors_indexed() : array { +function get_all_xprofile_contributors_indexed(): array { $all_data = get_all_xprofile_contributor_hours_teams(); $newdata = array(); @@ -87,7 +87,6 @@ function get_all_xprofile_contributors_indexed() : array { } return $newdata; - } /**