Skip to content

Commit

Permalink
[V3.6.3] Remove parameter types causing error
Browse files Browse the repository at this point in the history
  • Loading branch information
lindsaycooper committed Jan 20, 2021
1 parent 3f3aede commit 58c5416
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions widget.subscribe.php
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ private function post_user_profile( $client, $profile_data ): void {
}
}

private function should_send_welcome_template( array $custom_fields, array $new_lists ): bool {
private function should_send_welcome_template( $custom_fields, array $new_lists ): bool {
return ! empty($custom_fields['sailthru_welcome_template']) && ! empty($new_lists);
}

Expand All @@ -525,7 +525,7 @@ private function send_template( $client, string $template, string $email, array
}
}

private function filter_out_existing_lists( array $profile, array $subscribe_to_lists ): array {
private function filter_out_existing_lists( $profile, array $subscribe_to_lists ): array {
if (empty($profile)) {
return array_keys( $subscribe_to_lists );
}
Expand Down

0 comments on commit 58c5416

Please sign in to comment.