Code Duplication    Length = 3-3 lines in 2 locations

includes/CMB2_Base.php 2 locations

@@ 388-390 (lines=3) @@
385
386
			switch ( $message ) {
387
388
				case self::DEPRECATED_PARAM:
389
					$message = sprintf( __( 'The "%s" field parameter has been deprecated in favor of the "%s" parameter.', 'cmb2' ), $args[3], $args[4] );
390
					break;
391
392
				case self::DEPRECATED_CB_PARAM:
393
					$message = sprintf( __( 'Using the "%s" field parameter as a callback has been deprecated in favor of the "%s" parameter.', 'cmb2' ), $args[3], $args[4] );
@@ 392-394 (lines=3) @@
389
					$message = sprintf( __( 'The "%s" field parameter has been deprecated in favor of the "%s" parameter.', 'cmb2' ), $args[3], $args[4] );
390
					break;
391
392
				case self::DEPRECATED_CB_PARAM:
393
					$message = sprintf( __( 'Using the "%s" field parameter as a callback has been deprecated in favor of the "%s" parameter.', 'cmb2' ), $args[3], $args[4] );
394
					break;
395
396
				default:
397
					$message = null;