Fix Codacy "Code Style" Pattern
This commit is contained in:
parent
a3257e0e40
commit
b6b91c9bf7
|
@ -62,7 +62,7 @@ class OAI2Server {
|
||||||
public function response() {
|
public function response() {
|
||||||
if (empty($this->errors)) {
|
if (empty($this->errors)) {
|
||||||
return $this->response->doc;
|
return $this->response->doc;
|
||||||
} else {
|
}
|
||||||
$errorResponse = new OAI2XMLResponse($this->uri, $this->verb, $this->args);
|
$errorResponse = new OAI2XMLResponse($this->uri, $this->verb, $this->args);
|
||||||
$oai_node = $errorResponse->doc->documentElement;
|
$oai_node = $errorResponse->doc->documentElement;
|
||||||
foreach($this->errors as $e) {
|
foreach($this->errors as $e) {
|
||||||
|
@ -71,7 +71,6 @@ class OAI2Server {
|
||||||
}
|
}
|
||||||
return $errorResponse->doc;
|
return $errorResponse->doc;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public function Identify() {
|
public function Identify() {
|
||||||
if (count($this->args) > 0) {
|
if (count($this->args) > 0) {
|
||||||
|
|
Loading…
Reference in New Issue