From 58c5416db8b996fa5acc5327bc4d91357c6c42f2 Mon Sep 17 00:00:00 2001 From: Lindsay Cooper Date: Wed, 20 Jan 2021 14:54:05 -0700 Subject: [PATCH] [V3.6.3] Remove parameter types causing error --- widget.subscribe.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widget.subscribe.php b/widget.subscribe.php index f4a95f5..828d55e 100644 --- a/widget.subscribe.php +++ b/widget.subscribe.php @@ -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); } @@ -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 ); }