Passed
Push — master ( 1d60eb...03dff3 )
by Stiofan
06:44 queued 03:02
created
vendor/ayecode/wp-super-duper/wp-super-duper.php 1 patch
Braces   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
 				<?php
199 199
 				if(!empty($insert_shortcode_function)){
200 200
 					echo $insert_shortcode_function;
201
-				}else{
201
+				} else{
202 202
 
203 203
 				/**
204 204
 				 * Function for super duper insert shortcode.
@@ -673,7 +673,7 @@  discard block
 block discarded – undo
673 673
 				}
674 674
 				$output .= $main_content;
675 675
 				$output .= '</div>';
676
-			}elseif($main_content && $no_wrap){
676
+			} elseif($main_content && $no_wrap){
677 677
 				$output .= $main_content;
678 678
 			}
679 679
 
@@ -892,7 +892,7 @@  discard block
 block discarded – undo
892 892
 									$type    = 'array';
893 893
 									if(is_array($args['default'])){
894 894
 										$default = isset( $args['default'] ) ? "['" . implode("','", $args['default']) . "']" : "[]";
895
-									}else{
895
+									} else{
896 896
 										$default = isset( $args['default'] ) ? "'" . $args['default'] . "'" : "''";
897 897
 									}
898 898
 								} elseif ( $args['type'] == 'multiselect' ) {
@@ -1070,7 +1070,7 @@  discard block
 block discarded – undo
1070 1070
 								// If the user sets block-output array then build it
1071 1071
 								if ( ! empty( $this->options['block-output'] ) ) {
1072 1072
 								$this->block_element( $this->options['block-output'] );
1073
-							}else{
1073
+							} else{
1074 1074
 								// if no block-output is set then we try and get the shortcode html output via ajax.
1075 1075
 								?>
1076 1076
 								el('div', {
@@ -1160,7 +1160,7 @@  discard block
 block discarded – undo
1160 1160
 					foreach($custom_attributes as $key => $val){
1161 1161
 						$attributes .= " $key='$val' ";
1162 1162
 					}
1163
-				}else{
1163
+				} else{
1164 1164
 					foreach($custom_attributes as $key => $val){
1165 1165
 						$attributes .= "'$key': '$val',";
1166 1166
 					}
@@ -1527,7 +1527,7 @@  discard block
 block discarded – undo
1527 1527
 //									print_r($value);
1528 1528
 //									echo '@@@'.print_r($val,true),'@@@';
1529 1529
 //									echo '###'.$value.'###';
1530
-									if ($multiple) {$selected = in_array($val,$value) ? 'selected="selected"' : ''; }else{$selected = selected( $value, $val, false );}
1530
+									if ($multiple) {$selected = in_array($val,$value) ? 'selected="selected"' : ''; } else{$selected = selected( $value, $val, false );}
1531 1531
 									echo "<option value='$val' " . $selected . ">$label</option>";
1532 1532
 								}
1533 1533
 							}
Please login to merge, or discard this patch.