Completed
Push — trunk ( 402eef...7ed3f9 )
by Justin
06:38
created
includes/CMB2_Base.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -335,11 +335,11 @@  discard block
 block discarded – undo
335 335
 			switch ( $message ) {
336 336
 
337 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] );
338
+					$message = sprintf( __( 'The "%s" field parameter has been deprecated in favor of the "%s" parameter.', 'cmb2' ), $args[ 3 ], $args[ 4 ] );
339 339
 					break;
340 340
 
341 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] );
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 343
 					break;
344 344
 
345 345
 				default:
@@ -418,7 +418,7 @@  discard block
 block discarded – undo
418 418
 	public function __call( $method, $args ) {
419 419
 		$object_class = strtolower( get_class( $this ) );
420 420
 
421
-		if ( ! has_filter(  "{$object_class}_inherit_{$method}" ) ) {
421
+		if ( ! has_filter( "{$object_class}_inherit_{$method}" ) ) {
422 422
 			throw new Exception( 'Invalid ' . get_class( $this ) . ' method: ' . $method );
423 423
 		}
424 424
 
Please login to merge, or discard this patch.