Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbj authored and github-actions[bot] committed Mar 8, 2023
1 parent 79e8e8f commit b6b8c0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Cord.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ class Cord
public $document = [];

protected $xml;

public ?string $xmlResponse;

protected $client;

public function __construct()
Expand Down Expand Up @@ -224,7 +224,7 @@ public function inspect(): string

return $this->xml;
}

/**
* Get the response as XML
*/
Expand All @@ -250,7 +250,7 @@ protected function fetch()
])->throw()->body();

$this->xmlResponse = $response;

//XML to JSON
$response = json_decode(json_encode(simplexml_load_string($response)), true);

Expand Down

0 comments on commit b6b8c0a

Please sign in to comment.