Skip to content

Commit

Permalink
Linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Meldiron committed Jun 8, 2022
1 parent cdc4423 commit ce59bcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Executor/Executor.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,15 @@ public function createExecution(
$response = $this->call(self::METHOD_POST, $route, $headers, $params, true, $requestTimeout);
$status = $response['headers']['status-code'];

if($status < 400) {
if ($status < 400) {
return $response['body'];
}
break;
case $status === 406:
$response = $this->call(self::METHOD_POST, $route, $headers, $params, true, $requestTimeout);
$status = $response['headers']['status-code'];

if($status < 400) {
if ($status < 400) {
return $response['body'];
}
break;
Expand Down

0 comments on commit ce59bcc

Please sign in to comment.