Code Duplication    Length = 3-3 lines in 2 locations

includes/CMB2.php 2 locations

@@ 300-302 (lines=3) @@
297
	 */
298
	public function render_group( $args ) {
299
300
		if ( ! isset( $args['id'], $args['fields'] ) || ! is_array( $args['fields'] ) ) {
301
			return;
302
		}
303
304
		$field_group = $this->get_field( $args );
305
@@ 609-611 (lines=3) @@
606
	 * @return mixed        Return of CMB2_Field::update_data()
607
	 */
608
	public function save_group( $args ) {
609
		if ( ! isset( $args['id'], $args['fields'] ) || ! is_array( $args['fields'] ) ) {
610
			return;
611
		}
612
613
		return $this->save_group_field( new CMB2_Field( array(
614
			'field_args'  => $args,