From 20a9d56e68324a6e13756b30b781964234094ad1 Mon Sep 17 00:00:00 2001 From: David Remer Date: Fri, 10 Jul 2020 15:47:54 +0300 Subject: [PATCH] phpcs / remove unused use statements --- modules.local/ppcp-wc-gateway/services.php | 3 --- modules.local/ppcp-webhooks/src/IncomingWebhookEndpoint.php | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/modules.local/ppcp-wc-gateway/services.php b/modules.local/ppcp-wc-gateway/services.php index 0830574d9..1e50c779b 100644 --- a/modules.local/ppcp-wc-gateway/services.php +++ b/modules.local/ppcp-wc-gateway/services.php @@ -17,9 +17,6 @@ use Inpsyde\PayPalCommerce\WcGateway\Processor\OrderProcessor; use Inpsyde\PayPalCommerce\WcGateway\Settings\Settings; use Inpsyde\PayPalCommerce\WcGateway\Settings\SettingsListener; use Inpsyde\PayPalCommerce\WcGateway\Settings\SettingsRenderer; -use Inpsyde\Woocommerce\Logging\Logger\NullLogger; -use Inpsyde\Woocommerce\Logging\Logger\WooCommerceLogger; -use Psr\Log\LoggerInterface; use WpOop\TransientCache\CachePoolFactory; return [ diff --git a/modules.local/ppcp-webhooks/src/IncomingWebhookEndpoint.php b/modules.local/ppcp-webhooks/src/IncomingWebhookEndpoint.php index 61325d484..7763fc78c 100644 --- a/modules.local/ppcp-webhooks/src/IncomingWebhookEndpoint.php +++ b/modules.local/ppcp-webhooks/src/IncomingWebhookEndpoint.php @@ -59,7 +59,7 @@ class IncomingWebhookEndpoint public function verifyRequest(): bool { - if ( ! $this->verifyRequest) { + if (! $this->verifyRequest) { return true; } try {