Skip to content

Commit

Permalink
Fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
mpysiak committed Apr 4, 2024
1 parent 553b05a commit 68f8f73
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Enabler/PayPalPaymentMethodEnabler.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
namespace Sylius\PayPalPlugin\Enabler;

use Doctrine\Persistence\ObjectManager;
use GuzzleHttp\Client;
use GuzzleHttp\ClientInterface as GuzzleClientInterface;
use Psr\Http\Client\ClientInterface;
use Psr\Http\Message\RequestFactoryInterface;
Expand All @@ -26,7 +25,7 @@
final class PayPalPaymentMethodEnabler implements PaymentMethodEnablerInterface
{
public function __construct(
private readonly Client|ClientInterface $client,
private readonly GuzzleClientInterface|ClientInterface $client,
private readonly string $baseUrl,
private readonly ObjectManager $paymentMethodManager,
private readonly SellerWebhookRegistrarInterface $sellerWebhookRegistrar,
Expand Down

0 comments on commit 68f8f73

Please sign in to comment.