Skip to content

Commit aef0f96

Browse files
committed
fix static issues
1 parent 934db87 commit aef0f96

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/code/Magento/PaypalGraphQl/Observer/PayflowProSetCcData.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public function __construct(
5353
* @param Observer $observer
5454
*
5555
* @throws GraphQlInputException
56+
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
5657
*/
5758
public function execute(Observer $observer)
5859
{
@@ -64,7 +65,7 @@ public function execute(Observer $observer)
6465
return;
6566
}
6667

67-
if($this->customerSession->isLoggedIn() && $this->isPayflowProVaultEnable()) {
68+
if ($this->customerSession->isLoggedIn() && $this->isPayflowProVaultEnable()) {
6869
if (!isset($additionalData[self::IS_ACTIVE_PAYMENT_TOKEN_ENABLER])) {
6970
throw new GraphQlInputException(
7071
__('Required parameter "is_active_payment_token_enabler" is missing.')

app/code/Magento/PaypalGraphQl/composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"magento/module-quote-graph-ql": "*",
1414
"magento/module-sales": "*",
1515
"magento/module-payment": "*",
16-
"magento/module-store": "*"
16+
"magento/module-store": "*",
17+
"magento/module-customer": "*"
1718
},
1819
"suggest": {
1920
"magento/module-graph-ql": "*"

0 commit comments

Comments
 (0)