Code Duplication    Length = 3-4 lines in 2 locations

vendor/ayecode/wp-super-duper/wp-super-duper.php 2 locations

@@ 897-899 (lines=3) @@
894
									$type    = 'array';
895
									if(is_array($args['default'])){
896
										$default = isset( $args['default'] ) ? "['" . implode("','", $args['default']) . "']" : "[]";
897
									}else{
898
										$default = isset( $args['default'] ) ? "'" . $args['default'] . "'" : "''";
899
									}
900
								} elseif ( $args['type'] == 'multiselect' ) {
901
									$type    = 'array';
902
									$default = isset( $args['default'] ) ? "'" . $args['default'] . "'" : "''";
@@ 903-906 (lines=4) @@
900
								} elseif ( $args['type'] == 'multiselect' ) {
901
									$type    = 'array';
902
									$default = isset( $args['default'] ) ? "'" . $args['default'] . "'" : "''";
903
								} else {
904
									$type    = 'string';
905
									$default = isset( $args['default'] ) ? "'" . $args['default'] . "'" : "''";
906
								}
907
								echo $key . " : {";
908
								echo "type : '$type',";
909
								echo "default : $default,";