Code Duplication    Length = 6-6 lines in 2 locations

vendor/developerforce/force.com-toolkit-for-php/soapclient/SforceBaseClient.php 1 location

@@ 202-207 (lines=6) @@
199
	 * Specifies the session ID returned from the login server after a successful
200
	 * login.
201
	 */
202
	protected function _setLoginHeader($loginResult) {
203
		$this->sessionId = $loginResult->sessionId;
204
		$this->setSessionHeader($this->sessionId);
205
		$serverURL = $loginResult->serverUrl;
206
		$this->setEndPoint($serverURL);
207
	}
208
209
	/**
210
	 * Set the endpoint.

vendor/developerforce/force.com-toolkit-for-php/soapclient/SforceMetadataClient.php 1 location

@@ 85-90 (lines=6) @@
82
   * Specifies the session ID returned from the login server after a successful
83
   * login.
84
   */
85
  protected function _setLoginHeader($loginResult) {
86
    $this->sessionId = $loginResult->sessionId;
87
    $this->setSessionHeader($this->sessionId);
88
    $serverURL = $loginResult->serverUrl;
89
    $this->setEndPoint($serverURL);
90
  }
91
92
  /**
93
   * Set the endpoint.