Code Duplication    Length = 3-4 lines in 2 locations

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

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