Skip to content

Commit

Permalink
CS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
L3RAZ committed Mar 29, 2024
1 parent 4e99daf commit e3738e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/Api/Payment/PaymentService.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
use PrestaShop\Module\PrestashopCheckout\Exception\PsCheckoutException;
use PrestaShop\Module\PrestashopCheckout\Exception\UnprocessableEntityException;
use PrestaShop\Module\PrestashopCheckout\Http\CheckoutHttpClient;
use PrestaShop\Module\PrestashopCheckout\Http\CheckoutHttpClientInterface;
use PrestaShop\Module\PrestashopCheckout\PayPal\Order\DTO\CreatePayPalOrderResponse;
use PrestaShop\Module\PrestashopCheckout\Serializer\ObjectSerializerInterface;
use Psr\Http\Message\ResponseInterface;
Expand All @@ -38,15 +37,15 @@
class PaymentService
{
/**
* @var CheckoutHttpClientInterface
* @var CheckoutHttpClient
*/
private $client;
/**
* @var ObjectSerializerInterface
*/
private $serializer;

public function __construct(CheckoutHttpClientInterface $client, ObjectSerializerInterface $serializer)
public function __construct(CheckoutHttpClient $client, ObjectSerializerInterface $serializer)
{
$this->client = $client;
$this->serializer = $serializer;
Expand Down
4 changes: 2 additions & 2 deletions src/Http/CheckoutHttpClientInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@

namespace PrestaShop\Module\PrestashopCheckout\Http;

use PrestaShop\Module\PrestashopCheckout\PayPal\Order\DTO\CreatePayPalOrderResponse;
use GuzzleHttp\Message\ResponseInterface;
use PrestaShop\Module\PrestashopCheckout\PayPal\Order\Exception\PayPalOrderException;

interface CheckoutHttpClientInterface
{
/**
* @param string $payload
*
* @return CreatePayPalOrderResponse
* @return ResponseInterface
*
* @throws PayPalOrderException
*/
Expand Down

0 comments on commit e3738e5

Please sign in to comment.