Code Duplication    Length = 10-10 lines in 2 locations

vendor/developerforce/force.com-toolkit-for-php/soapclient/SforceBaseClient.php 2 locations

@@ 231-240 (lines=10) @@
228
			array_push($header_array, $header);
229
		}
230
231
		if ($call == "create" ||
232
		$call == "merge" ||
233
		$call == "update" ||
234
		$call == "upsert"
235
		) {
236
			$header = $this->assignmentRuleHeader;
237
			if ($header != NULL) {
238
				array_push($header_array, $header);
239
			}
240
		}
241
242
		if ($call == "login") {
243
			$header = $this->loginScopeHeader;
@@ 249-258 (lines=10) @@
246
			}
247
		}
248
249
		if ($call == "create" ||
250
		$call == "resetPassword" ||
251
		$call == "update" ||
252
		$call == "upsert"
253
		) {
254
			$header = $this->emailHeader;
255
			if ($header != NULL) {
256
				array_push($header_array, $header);
257
			}
258
		}
259
260
		if ($call == "create" ||
261
		$call == "merge" ||