Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 9cb0d38

Browse files
committed
:octocat:
1 parent 772f1f6 commit 9cb0d38

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@
3434
In order to instance an [`OAuthInterface`](https://github.com/chillerlan/php-oauth-core/blob/master/src/Core/OAuthInterface.php) you you'll need to invoke a [`HTTPClientInterface`](https://github.com/chillerlan/php-httpinterface/blob/master/src/HTTPClientInterface.php), [`OAuthStorageInterface`](https://github.com/chillerlan/php-oauth-core/blob/master/src/Storage/OAuthStorageInterface.php) and `OAuthOptions` (a [`ContainerInterface`](https://github.com/chillerlan/php-traits/blob/master/src/ContainerInterface.php)) objects first:
3535
```php
3636
use chillerlan\OAuth\Providers\<PROVIDER_NAMESPACE>\<PROVIDER>;
37-
use chillerlan\OAuth\{
38-
OAuthOptions, Storage\SessionTokenStorage
39-
};
37+
use chillerlan\OAuth\{OAuthOptions, Storage\SessionTokenStorage};
4038
use chillerlan\HTTP\Psr18\CurlClient;
4139

4240
// OAuthOptions

src/Core/OAuthProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ protected function cleanBodyParams(array $params):array{
279279
* @param string $path
280280
* @param array $params
281281
* @param string $method
282-
* @param null $body
282+
* @param mixed $body
283283
* @param array $headers
284284
*
285285
* @return \Psr\Http\Message\ResponseInterface

0 commit comments

Comments
 (0)