Completed
Push — staging ( 112ef9...7a9dad )
by Evan
63:44 queued 43:40
created
admin/class-yikes-inc-easy-mailchimp-extender-admin.php 1 patch
Doc Comments   -4 removed lines patch added patch discarded remove patch
@@ -1214,8 +1214,6 @@  discard block
 block discarded – undo
1214 1214
 	 * the correct WordPress options API (old plugin stored options wierdly)
1215 1215
 	 *
1216 1216
 	 * @since    1.0.0
1217
-	 * @param      string    $yikes_inc_easy_mailchimp_extender       The name of this plugin.
1218
-	 * @param      string    $version    The version of this plugin.
1219 1217
 	 */
1220 1218
 	public function check_for_old_yks_mc_options() {
1221 1219
 		$old_plugin_options = get_option( 'ykseme_storage' );
@@ -1250,8 +1248,6 @@  discard block
 block discarded – undo
1250 1248
 		 * the correct WordPress options API (old plugin stored options wierdly)
1251 1249
 		 *
1252 1250
 		 * @since    1.0.0
1253
-		 * @param      string    $yikes_inc_easy_mailchimp_extender       The name of this plugin.
1254
-		 * @param      string    $version    The version of this plugin.
1255 1251
 		 */
1256 1252
 		public function display_options_migrate_notice() {
1257 1253
 			
Please login to merge, or discard this patch.
includes/import-export/yikes-easy-mailchimp-export.class.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -9,6 +9,11 @@  discard block
 block discarded – undo
9 9
 	*	@form_ids 		array of form ID's to export ie: array( 1,4,5,6 ) (user can select specific forms)
10 10
 	*	@file_name 	the name of the exported file
11 11
 	*/	
12
+
13
+	/**
14
+	 * @param string $table_name
15
+	 * @param string $file_name
16
+	 */
12 17
 	public static function yikes_mailchimp_form_export( $table_name, $form_ids , $file_name ) {
13 18
 		global $wpdb;
14 19
 		$wpdb->show_errors(); 															
@@ -64,6 +69,10 @@  discard block
 block discarded – undo
64 69
 	*	@parameters
65 70
 	*	@file_name 	the name of the exported file
66 71
 	*/	
72
+
73
+	/**
74
+	 * @param string $file_name
75
+	 */
67 76
 	public static function yikes_mailchimp_settings_export( $file_name ) {
68 77
 		
69 78
 		// get an array of all of our plugin settings (on the settings pages), to loop over
Please login to merge, or discard this patch.
public/classes/checkbox-integrations.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -23,6 +23,10 @@  discard block
 block discarded – undo
23 23
 		*	@since 6.0.0
24 24
 		*	@$integration_type - pass in the type of checkbox integration
25 25
 		*/
26
+
27
+		/**
28
+		 * @param string $integration_type
29
+		 */
26 30
 		public function is_user_already_subscribed( $integration_type ) {
27 31
 			// first check if the user is logged in
28 32
 			if( is_user_logged_in() ) {
@@ -69,6 +73,10 @@  discard block
 block discarded – undo
69 73
 		*	@$email - users email address entered into the form
70 74
 		*	@$integration_type - pass in the type of checkbox integration
71 75
 		*/
76
+
77
+		/**
78
+		 * @param string $integration_type
79
+		 */
72 80
 		public function is_new_registration_already_subscribed( $email , $integration_type ) {
73 81
 			// first check if the user is logged in
74 82
 			$checkbox_options = get_option( 'optin-checkbox-init' , '' );
@@ -233,6 +241,10 @@  discard block
 block discarded – undo
233 241
 		*	before continuing
234 242
 		*	@since 6.0.0
235 243
 		*/
244
+
245
+		/**
246
+		 * @param string $type
247
+		 */
236 248
 		public function was_checkbox_checked( $type ) {
237 249
 			// was sign-up checkbox checked - return the value
238 250
 			return ( isset( $_POST[ 'yikes_mailchimp_checkbox_'.$type ] ) && $_POST[ 'yikes_mailchimp_checkbox_'.$type ] == 1 );
Please login to merge, or discard this patch.
public/classes/checkbox-integrations/class.bbpress_forms-checkbox.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 		 * @param array $anonymous_data
42 42
 		 * @param int $user_id
43 43
 		 * @param string $trigger
44
-		 * @return boolean
44
+		 * @return boolean|null
45 45
 		 */
46 46
 		public function subscribe_from_bbpress( $anonymous_data, $user_id, $trigger ) {
47 47
 			$user_data = get_userdata( $user_id );
Please login to merge, or discard this patch.
public/classes/checkbox-integrations/class.buddypress_form-checkbox.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,6 @@
 block discarded – undo
40 40
 		 * @param string $user_login
41 41
 		 * @param string $user_password
42 42
 		 * @param string $user_email
43
-		 * @param array $usermeta
44 43
 		 */
45 44
 		public function subscribe_from_buddypress_form( $user_id, $user_login, $user_password, $user_email ) {
46 45
 			if ( $this->was_checkbox_checked( $this->type ) === false ) {
Please login to merge, or discard this patch.
class.easy_digital_downloads_checkout_form-checkbox.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,6 @@  discard block
 block discarded – undo
41 41
 		
42 42
 		
43 43
 		/**
44
-		 * @param array $meta
45 44
 		 *
46 45
 		 * @return array
47 46
 		 */
@@ -57,7 +56,7 @@  discard block
 block discarded – undo
57 56
 		/**
58 57
 		 * @param int $payment_id The ID of the payment
59 58
 		 *
60
-		 * @return bool|string
59
+		 * @return false|null
61 60
 		 */
62 61
 		public function subscribe_from_edd_purchase( $payment_id ) {
63 62
 			$meta = get_post_meta( $payment_id , '_yikes_easy_mc_optin' , true );
Please login to merge, or discard this patch.
public/classes/checkbox-integrations/class.registration_form-checkbox.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 	 *
36 36
 	 * @param int $user_id
37 37
 	 *
38
-	 * @return bool|string
38
+	 * @return false|null
39 39
 	*/
40 40
 	public function subscribe_from_registration( $user_id ) {
41 41
 		// was sign-up checkbox checked?
Please login to merge, or discard this patch.