Code Duplication    Length = 3-4 lines in 2 locations

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

@@ 888-890 (lines=3) @@
885
									$type = 'array';
886
									if ( is_array( $args['default'] ) ) {
887
										$default = isset( $args['default'] ) ? "['" . implode( "','", $args['default'] ) . "']" : "[]";
888
									} else {
889
										$default = isset( $args['default'] ) ? "'" . $args['default'] . "'" : "''";
890
									}
891
								} elseif ( $args['type'] == 'multiselect' ) {
892
									$type    = 'array';
893
									$default = isset( $args['default'] ) ? "'" . $args['default'] . "'" : "''";
@@ 894-897 (lines=4) @@
891
								} elseif ( $args['type'] == 'multiselect' ) {
892
									$type    = 'array';
893
									$default = isset( $args['default'] ) ? "'" . $args['default'] . "'" : "''";
894
								} else {
895
									$type    = 'string';
896
									$default = isset( $args['default'] ) ? "'" . $args['default'] . "'" : "''";
897
								}
898
								echo $key . " : {";
899
								echo "type : '$type',";
900
								echo "default : $default,";