Code Duplication    Length = 3-3 lines in 2 locations

includes/CMB2_Base.php 2 locations

@@ 337-339 (lines=3) @@
334
335
			switch ( $message ) {
336
337
				case self::DEPRECATED_PARAM:
338
					$message = sprintf( __( 'The "%s" field parameter has been deprecated in favor of the "%s" parameter.', 'cmb2' ), $args[3], $args[4] );
339
					break;
340
341
				case self::DEPRECATED_CB_PARAM:
342
					$message = sprintf( __( 'Using the "%s" field parameter as a callback has been deprecated in favor of the "%s" parameter.', 'cmb2' ), $args[3], $args[4] );
@@ 341-343 (lines=3) @@
338
					$message = sprintf( __( 'The "%s" field parameter has been deprecated in favor of the "%s" parameter.', 'cmb2' ), $args[3], $args[4] );
339
					break;
340
341
				case self::DEPRECATED_CB_PARAM:
342
					$message = sprintf( __( 'Using the "%s" field parameter as a callback has been deprecated in favor of the "%s" parameter.', 'cmb2' ), $args[3], $args[4] );
343
					break;
344
345
				default:
346
					$message = null;