Fix duplicate parameter in constructor assigment

This commit is contained in:
dinamiko 2021-10-20 15:22:39 +02:00
parent e3a793e3e5
commit c019795ac7
3 changed files with 1 additions and 2 deletions

1
composer.lock generated
View file

@ -2921,6 +2921,7 @@
"type": "github"
}
],
"abandoned": true,
"time": "2020-11-30T07:30:19+00:00"
},
{

View file

@ -209,7 +209,6 @@ class PayPalGateway extends \WC_Payment_Gateway {
$this->page_id = $page_id;
$this->environment = $environment;
$this->logger = $logger;
$this->onboarded = $state->current_state() === State::STATE_ONBOARDED;
if ( $this->onboarded ) {
$this->supports = array( 'refunds' );

View file

@ -3,7 +3,6 @@ declare(strict_types=1);
namespace WooCommerce\PayPalCommerce\WcGateway\Gateway;
use Psr\Container\ContainerInterface;
use Psr\Log\LoggerInterface;
use WooCommerce\PayPalCommerce\ApiClient\Endpoint\OrderEndpoint;