Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
Karol Wojciechowski committed Nov 27, 2023
1 parent 3efb847 commit eeadd6b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Api/ApiAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ApiAction

/**
* @param Token $Token
* @param bool $productionMode
* @param bool $productionMode
*/
public function __construct($Token, $productionMode)
{
Expand Down Expand Up @@ -104,7 +104,7 @@ protected function sendRequest($apiMethod, $requestMethod, $fields = [], $header
}

if ($this->clientName) {
$headers[] = 'X-Client-Source: ' . $this->clientName;
$headers[] = 'X-Client-Source: '.$this->clientName;
}

Logger::log(
Expand All @@ -131,14 +131,14 @@ protected function sendRequest($apiMethod, $requestMethod, $fields = [], $header

/**
* @param string $requestUrl
* @param array $queryFields
* @param array $queryFields
*
* @return string
*/
protected function addQueryFields($requestUrl, $queryFields)
{
if (is_array($queryFields) && count($queryFields) > 0) {
$requestUrl .= '?' . http_build_query($queryFields);
$requestUrl .= '?'.http_build_query($queryFields);
}

return $requestUrl;
Expand Down

0 comments on commit eeadd6b

Please sign in to comment.