Passed
Push — master ( 6b8347...3f789e )
by Brian
35:59 queued 29:02
created
includes/admin/class-getpaid-admin-setup-wizard.php 1 patch
Braces   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 	<?php
158 158
 	if(isset($_REQUEST['step'])){
159 159
 	$this->setup_wizard_steps();
160
-	}else{
160
+	} else{
161 161
 	echo "<div class='mb-3'>&nbsp;</div>";
162 162
 	}
163 163
 
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
 		<p class="gd-return-to-dashboard-wrap"><a class="gd-return-to-dashboard btn btn-link d-block text-muted"
230 230
 		                                          href="<?php echo esc_url( admin_url() ); ?>"><?php esc_html_e( 'Return to the WordPress Dashboard', 'invoicing' ); ?></a>
231 231
 		</p>
232
-	<?php }else{ ?>
232
+	<?php } else{ ?>
233 233
 	<p class="gd-return-to-dashboard-wrap"><a href="<?php echo esc_url( $this->get_next_step_link() ); ?>"
234 234
 		                class="btn btn-link d-block text-muted"><?php esc_html_e( 'Skip this step', 'invoicing' ); ?></a></p>
235 235
 	<?php } ?>
@@ -483,13 +483,13 @@  discard block
 block discarded – undo
483 483
 									'label' => $label,
484 484
 									'label_type'    => 'floating'
485 485
 								));
486
-			}elseif($field['callback'] == 'wpinv_select_callback' || $field['callback'] == 'wpinv_country_states_callback'){
486
+			} elseif($field['callback'] == 'wpinv_select_callback' || $field['callback'] == 'wpinv_country_states_callback'){
487 487
 
488 488
 if($field['id']=='wpinv_settings[default_state]'){
489 489
 			$country_value  = wpinv_get_option( 'wpinv_settings[default_country]', 'US');
490 490
 $options = wpinv_get_country_states($country_value);//echo $value .'###'.$country_value;
491 491
 $class = 'getpaid_js_field-state';
492
-}else{
492
+} else{
493 493
 $options = isset($field['args']['options']) ? $field['args']['options'] : array();
494 494
 $class = 'getpaid_js_field-country';
495 495
 }
@@ -511,7 +511,7 @@  discard block
 block discarded – undo
511 511
 					'class'           => $class,
512 512
 //					'wrap_class'      => isset( $field->css_class ) ? $field->css_class : '',
513 513
 				) );
514
-			}elseif($field['callback'] == 'wpinv_textarea_callback'){
514
+			} elseif($field['callback'] == 'wpinv_textarea_callback'){
515 515
 				$textarea =  aui()->textarea( array(
516 516
 					'id'              => isset($field['args']['id']) ? esc_attr($field['args']['id']) : '',
517 517
 					'name'            => isset($field['id']) ? esc_attr($field['id']) : '',
Please login to merge, or discard this patch.