Skip to content

Commit

Permalink
Improve PHPDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Mar 16, 2024
1 parent 65d9ead commit 45c12cc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/Provider/APIv1Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

namespace WBW\Library\Pappers\Provider;

use GuzzleHttp\Exception\GuzzleException;
use InvalidArgumentException;
use WBW\Library\Pappers\Request\AbstractRequest;
use WBW\Library\Pappers\Request\DocumentTelechargementRequest;
Expand Down Expand Up @@ -41,7 +40,6 @@ public function getEndpointVersion(): string {
* @param AbstractRequest $request The request.
* @return AbstractResponse Returns the response.
* @throws InvalidArgumentException Throws an invalid argument exception if a parameter is missing.
* @throws GuzzleException Throws a Guzzle exception if an error occurs.
* @throws ApiException Throws an API exception if an error occurs.
*/
public function sendRequest(AbstractRequest $request): AbstractResponse {
Expand Down
2 changes: 0 additions & 2 deletions src/Provider/APIv2Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

namespace WBW\Library\Pappers\Provider;

use GuzzleHttp\Exception\GuzzleException;
use InvalidArgumentException;
use WBW\Library\Pappers\Request\AbstractRequest;
use WBW\Library\Pappers\Request\SuggestionsRequest;
Expand Down Expand Up @@ -39,7 +38,6 @@ public function getEndpointVersion(): string {
* @param AbstractRequest $request The request.
* @return AbstractResponse Returns the response.
* @throws InvalidArgumentException Throws an invalid argument exception if a parameter is missing.
* @throws GuzzleException Throws a Guzzle exception if an error occurs.
* @throws ApiException Throws an API exception if an error occurs.
*/
public function sendRequest(AbstractRequest $request): AbstractResponse {
Expand Down
2 changes: 0 additions & 2 deletions src/Provider/AbstractProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
namespace WBW\Library\Pappers\Provider;

use GuzzleHttp\Client;
use GuzzleHttp\Exception\GuzzleException;
use InvalidArgumentException;
use Psr\Log\LoggerInterface;
use Throwable;
Expand Down Expand Up @@ -81,7 +80,6 @@ private function buildConfiguration(): array {
* @param bool $apiToken API token ?
* @return string Returns the raw response.
* @throws InvalidArgumentException Throws an invalid argument exception if a parameter is missing.
* @throws GuzzleException Throws a Guzzle exception if an error occurs.
* @throws ApiException Throws an API exception if an error occurs.
*/
protected function callApi(AbstractRequest $request, array $queryData, bool $apiToken = true): string {
Expand Down

0 comments on commit 45c12cc

Please sign in to comment.