Code Duplication    Length = 5-5 lines in 2 locations

core/Field/Complex_Field.php 2 locations

@@ 63-67 (lines=5) @@
60
			$name = '';
61
			$label = null;
62
		} else if ( $argc == 2 ) {
63
			if ( is_array( $argv[0] ) ) {
64
				list( $fields, $name ) = $argv;
65
			} else {
66
				list( $name, $fields ) = $argv;
67
			}
68
			$label = null;
69
		} else if ( $argc == 3 ) {
70
			if ( is_array( $argv[0] ) ) {
@@ 70-74 (lines=5) @@
67
			}
68
			$label = null;
69
		} else if ( $argc == 3 ) {
70
			if ( is_array( $argv[0] ) ) {
71
				list( $fields, $name, $label ) = $argv;
72
			} else {
73
				list( $name, $label, $fields ) = $argv;
74
			}
75
		}
76
77
		if ( array_key_exists( '_' . $name, $this->groups ) ) {