Skip to content

Commit

Permalink
Tweak remove double semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
ganiuszka committed Jan 14, 2025
1 parent 76e5ccf commit 31da6b0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Web/Modules/BaculumAPIClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ public function get(array $params, $host = null, $show_error = true, $use_cache
curl_close($ch);
$header = substr($result, 0, $header_size);
$body = substr($result, $header_size);
$this->response_headers = Headers::parseAll($header);;
$this->response_headers = Headers::parseAll($header);
$ret = $this->preParseOutput($body, $error, $errno, $show_error);
if ($use_cache === true && $ret->error === 0) {
$this->setSessionCache($host, $params, $ret);
Expand Down Expand Up @@ -373,7 +373,7 @@ public function set(array $params, array $options = [], $host = null, $show_erro
curl_close($ch);
$header = substr($result, 0, $header_size);
$body = substr($result, $header_size);
$this->response_headers = Headers::parseAll($header);;
$this->response_headers = Headers::parseAll($header);
return $this->preParseOutput($body, $error, $errno, $show_error);
}

Expand Down Expand Up @@ -407,7 +407,7 @@ public function create(array $params, array $options, $host = null, $show_error
curl_close($ch);
$header = substr($result, 0, $header_size);
$body = substr($result, $header_size);
$this->response_headers = Headers::parseAll($header);;
$this->response_headers = Headers::parseAll($header);
return $this->preParseOutput($body, $error, $errno, $show_error);
}

Expand Down Expand Up @@ -438,7 +438,7 @@ public function remove(array $params, $host = null, $show_error = true)
curl_close($ch);
$header = substr($result, 0, $header_size);
$body = substr($result, $header_size);
$this->response_headers = Headers::parseAll($header);;
$this->response_headers = Headers::parseAll($header);
return $this->preParseOutput($body, $error, $errno, $show_error);
}

Expand Down Expand Up @@ -635,7 +635,7 @@ public function getTokens($auth_id, $state)
$header = substr($result, 0, $header_size);
$body = substr($result, $header_size);
$tokens = json_decode($body);
$this->response_headers = Headers::parseAll($header);;
$this->response_headers = Headers::parseAll($header);
if (is_object($tokens) && isset($tokens->access_token) && isset($tokens->refresh_token)) {
$auth = new OAuth2Record();
$auth->host = $st['host'];
Expand Down

0 comments on commit 31da6b0

Please sign in to comment.