Skip to content

Commit 70a64f5

Browse files
committed
remove duplicate DataService
1 parent c955014 commit 70a64f5

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

src/DataService/DataService.php

+3-11
Original file line numberDiff line numberDiff line change
@@ -335,15 +335,7 @@ public function isThrownExceptionOnError(){
335335
public function getClinetName(){
336336
return $this->getClientName();
337337
}
338-
339-
/**
340-
* Return the client Name used by this DataSerivce
341-
* @return String the Client Name. It can be curl or GuzzleHttpClient
342-
*/
343-
public function getClientName(){
344-
return $this->clientName;
345-
}
346-
338+
347339

348340
/**
349341
* The client Name can be either 'curl', 'guzzle', or 'guzzlehttp'.
@@ -540,7 +532,7 @@ private function getXmlFromObj($phpObj)
540532
{
541533
if (!$phpObj) {
542534
$this->serviceContext->IppConfiguration->Logger->CustomLogger->Log(TraceLevel::Error, "getXmlFromObj NULL arg.");
543-
535+
544536
return false;
545537
}
546538

@@ -1000,7 +992,7 @@ public function Query($query, $startPosition = null, $maxResults = null)
1000992
}
1001993
$parsedResponseBody = $this->responseSerializer->Deserialize($tmpXML, false);
1002994
$this->serviceContext->IppConfiguration->Logger->CustomLogger->Log(TraceLevel::Info, $parsedResponseBody);
1003-
995+
1004996
} catch (\Exception $e) {
1005997
throw new \Exception("Exception appears in converting Response to XML.");
1006998
}

0 commit comments

Comments
 (0)