Skip to content

Commit

Permalink
indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
K700 committed May 9, 2020
1 parent afa25d1 commit dc8c622
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/GameQ/Protocols/Gtar.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ public function processResponse()
if (!isset($matches[0]) || ($json = json_decode($matches[0])) === null) {
throw new Exception("JSON response from Gtar protocol is invalid.");
}
$address = $this->realIp.':'.$this->realPortQuery;
$server = $json->$address;
if (empty($server)) {

$address = $this->realIp.':'.$this->realPortQuery;
$server = $json->$address;

if (empty($server)) {
return [
'gq_address' => $this->realIp,
'gq_port_query' => $this->realPortQuery,
Expand Down

0 comments on commit dc8c622

Please sign in to comment.