Skip to content

Commit

Permalink
parse code to int
Browse files Browse the repository at this point in the history
  • Loading branch information
giansalex committed Jul 27, 2019
1 parent b45798f commit f18b64b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ws/Services/ExtService.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ private function getStatusInternal($ticket)

$response = $this->getClient()->call('getStatus', ['parameters' => $params]);
$status = $response->status;
$code = $status->statusCode;
$code = intval($status->statusCode);

$result = new StatusResult();
$result->setCode($code);
Expand Down

0 comments on commit f18b64b

Please sign in to comment.