Code Duplication    Length = 3-3 lines in 2 locations

includes/class-metabox-values.php 2 locations

@@ 256-258 (lines=3) @@
253
		$min = 1;
254
		$max = 10000000;
255
256
		if ( 'acf' == $cmb['source'] && ! empty( $cmb['extras']->min ) ) {
257
			$min = $cmb['extras']->min;
258
		}
259
260
		if ( 'acf' == $cmb['source'] && ! empty( $cmb['extras']->max ) ) {
261
			$max = $cmb['extras']->max;
@@ 260-262 (lines=3) @@
257
			$min = $cmb['extras']->min;
258
		}
259
260
		if ( 'acf' == $cmb['source'] && ! empty( $cmb['extras']->max ) ) {
261
			$max = $cmb['extras']->max;
262
		}
263
264
		return rand( $min, $max );
265