Code Duplication    Length = 6-6 lines in 2 locations

includes/libs/ObjectFactory.php 2 locations

@@ 178-183 (lines=6) @@
175
					$args[5], $args[6], $args[7]
176
				);
177
				break;
178
			case 9:
179
				$obj = new $clazz(
180
					$args[0], $args[1], $args[2], $args[3], $args[4],
181
					$args[5], $args[6], $args[7], $args[8]
182
				);
183
				break;
184
			case 10:
185
				$obj = new $clazz(
186
					$args[0], $args[1], $args[2], $args[3], $args[4],
@@ 184-189 (lines=6) @@
181
					$args[5], $args[6], $args[7], $args[8]
182
				);
183
				break;
184
			case 10:
185
				$obj = new $clazz(
186
					$args[0], $args[1], $args[2], $args[3], $args[4],
187
					$args[5], $args[6], $args[7], $args[8], $args[9]
188
				);
189
				break;
190
			default:
191
				// Fall back to using ReflectionClass and curse the developer
192
				// who decided that 11+ args was a reasonable method