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 f978740 commit 051b29c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Cord.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public function inspect(): string

return $this->xml;
}

/**
* Determine if the response should be returned as XML.
*/
Expand All @@ -239,7 +239,6 @@ private function checkForErrors()
throw new \Exception('You haven\'t set any target key. This is usually the shipment number, customs declaration number or booking number.');
}
}


protected function fetch()
{
Expand Down Expand Up @@ -268,8 +267,8 @@ protected function fetch()
}
throw new \Exception($response['ProcessingLog']);
}
if($this->asXml){

if ($this->asXml) {
return $xmlResponse;
}

Expand Down

0 comments on commit 051b29c

Please sign in to comment.