Skip to content

Commit

Permalink
fixed code-style due to broken CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BOPOH committed Dec 12, 2023
1 parent 77a2792 commit 55172ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Credentials.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function getVersion(): ?string
return $this->version;
}

public function __construct($apiKey, $env, ?string $version = null)
public function __construct($apiKey, $env, string $version = null)
{
$this->apiKey = $apiKey;
$this->env = $env;
Expand Down
3 changes: 2 additions & 1 deletion src/UploadResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ class UploadResult
{
private $response;
private $responseCode;
private $responseData = null;
private $responseData;

public function __construct($response, $responseCode)
{
$this->response = $response;
$this->responseCode = $responseCode;
$this->responseData = null;
if (false != $response && 500 != $responseCode) {
$this->responseData = json_decode($this->response, true);
}
Expand Down

0 comments on commit 55172ff

Please sign in to comment.