Skip to content

Commit

Permalink
fix static issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Usik2203 committed Jun 23, 2020
1 parent 934db87 commit aef0f96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public function __construct(
* @param Observer $observer
*
* @throws GraphQlInputException
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
*/
public function execute(Observer $observer)
{
Expand All @@ -64,7 +65,7 @@ public function execute(Observer $observer)
return;
}

if($this->customerSession->isLoggedIn() && $this->isPayflowProVaultEnable()) {
if ($this->customerSession->isLoggedIn() && $this->isPayflowProVaultEnable()) {
if (!isset($additionalData[self::IS_ACTIVE_PAYMENT_TOKEN_ENABLER])) {
throw new GraphQlInputException(
__('Required parameter "is_active_payment_token_enabler" is missing.')
Expand Down
3 changes: 2 additions & 1 deletion app/code/Magento/PaypalGraphQl/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"magento/module-quote-graph-ql": "*",
"magento/module-sales": "*",
"magento/module-payment": "*",
"magento/module-store": "*"
"magento/module-store": "*",
"magento/module-customer": "*"
},
"suggest": {
"magento/module-graph-ql": "*"
Expand Down

0 comments on commit aef0f96

Please sign in to comment.