Code Duplication    Length = 4-5 lines in 2 locations

inc/woocommerce.php 2 locations

@@ 121-124 (lines=4) @@
118
				$args['input_class'] = array( 'form-control', 'input-lg' );
119
				$args['label_class'] = array( 'control-label' );
120
				break;
121
			case 'textarea' :
122
				$args['input_class'] = array( 'form-control', 'input-lg' );
123
				$args['label_class'] = array( 'control-label' );
124
				break;
125
			case 'checkbox' :
126
				$args['label_class'] = array( 'custom-control custom-checkbox' );
127
				$args['input_class'] = array( 'custom-control-input', 'input-lg' );
@@ 133-137 (lines=5) @@
130
				$args['label_class'] = array( 'custom-control custom-radio' );
131
				$args['input_class'] = array( 'custom-control-input', 'input-lg' );
132
				break;
133
			default :
134
				$args['class'][]     = 'form-group';
135
				$args['input_class'] = array( 'form-control', 'input-lg' );
136
				$args['label_class'] = array( 'control-label' );
137
				break;
138
		} // end switch ($args).
139
140
		return $args;