File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
app/code/Magento/CustomerGraphQl/Model/Context Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ public function execute(ContextParametersInterface $contextParameters): ContextP
8383 $ contextParameters ->addExtensionAttribute ('is_customer ' , $ isCustomer );
8484
8585 if ($ this ->session ->isLoggedIn ()) {
86- $ this ->setLoggedInCustomerData ( $ this ->session ->getCustomerData () );
86+ $ this ->loggedInCustomerData = $ this ->session ->getCustomerData ();
8787 }
8888
8989 if ($ isCustomer ) {
@@ -94,18 +94,6 @@ public function execute(ContextParametersInterface $contextParameters): ContextP
9494 return $ contextParameters ;
9595 }
9696
97- /**
98- * Set logged in customer data
99- *
100- * @param CustomerInterface $customerData
101- * @return AddUserInfoToContext
102- */
103- public function setLoggedInCustomerData (CustomerInterface $ customerData ): self
104- {
105- $ this ->loggedInCustomerData = $ customerData ;
106- return $ this ;
107- }
108-
10997 /**
11098 * Get logged in customer data
11199 *
You can’t perform that action at this time.
0 commit comments