Skip to content

Commit

Permalink
New Commit from Jenkins Build #3
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins committed Apr 4, 2022
1 parent f93ded7 commit f62f0f3
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 58 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This is Splitit Web API SDK source code for PHP 5.5+ applications. For other languages, please visit [Splitit.SDKs](https://github.com/Splitit/Splitit.SDKs).

- API version: 1.0.0
- Package version: 1.6.11
- Package version: 1.6.2

## Requirements

Expand All @@ -17,7 +17,7 @@ To install the bindings via [Composer](http://getcomposer.org/), add the followi
```
{
"require": {
"splitit/sdk": "^1.6.11"
"splitit/sdk": "^1.6.2"
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions Splitit/Api/CreateInstallmentPlanApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ protected function createInstallmentPlanGetRequest($amount_before_fees = null, $

} else {
// for HTTP post (form)
$httpBody = \GuzzleHttp\Psr7\build_query($formParams);
$httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
}
}

Expand All @@ -521,7 +521,7 @@ protected function createInstallmentPlanGetRequest($amount_before_fees = null, $
$headers
);

$query = \GuzzleHttp\Psr7\build_query($queryParams);
$query = \GuzzleHttp\Psr7\Query::build($queryParams);
return new Request(
'GET',
$this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
Expand Down
4 changes: 2 additions & 2 deletions Splitit/Api/InfoApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ protected function infoGetLearnMoreDetailsRequest($request)

} else {
// for HTTP post (form)
$httpBody = \GuzzleHttp\Psr7\build_query($formParams);
$httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
}
}

Expand All @@ -392,7 +392,7 @@ protected function infoGetLearnMoreDetailsRequest($request)
$headers
);

$query = \GuzzleHttp\Psr7\build_query($queryParams);
$query = \GuzzleHttp\Psr7\Query::build($queryParams);
return new Request(
'POST',
$this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
Expand Down
8 changes: 4 additions & 4 deletions Splitit/Api/InfrastructureApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ protected function infrastructureGetResourcesGETRequest($api_key = null, $sessio

} else {
// for HTTP post (form)
$httpBody = \GuzzleHttp\Psr7\build_query($formParams);
$httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
}
}

Expand All @@ -434,7 +434,7 @@ protected function infrastructureGetResourcesGETRequest($api_key = null, $sessio
$headers
);

$query = \GuzzleHttp\Psr7\build_query($queryParams);
$query = \GuzzleHttp\Psr7\Query::build($queryParams);
return new Request(
'GET',
$this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
Expand Down Expand Up @@ -693,7 +693,7 @@ protected function infrastructureGetResourcesPOSTRequest($request)

} else {
// for HTTP post (form)
$httpBody = \GuzzleHttp\Psr7\build_query($formParams);
$httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
}
}

Expand All @@ -709,7 +709,7 @@ protected function infrastructureGetResourcesPOSTRequest($request)
$headers
);

$query = \GuzzleHttp\Psr7\build_query($queryParams);
$query = \GuzzleHttp\Psr7\Query::build($queryParams);
return new Request(
'POST',
$this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
Expand Down
Loading

0 comments on commit f62f0f3

Please sign in to comment.