File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
app/code/Magento/CustomerGraphQl Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1515use Magento \GraphQl \Model \Query \UserContextParametersProcessorInterface ;
1616
1717/**
18- * @inheritdoc
18+ * @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
1919 */
2020class AddUserInfoToContext implements UserContextParametersProcessorInterface
2121{
Original file line number Diff line number Diff line change 1111use Magento \Customer \Model \ResourceModel \CustomerRepository ;
1212use Magento \Customer \Model \Session as CustomerSession ;
1313use Magento \CustomerGraphQl \Model \Context \AddUserInfoToContext ;
14+ use Magento \Framework \App \ObjectManager ;
1415use Magento \Framework \App \ResponseInterface ;
1516use Magento \Framework \Exception \LocalizedException ;
1617use Magento \Framework \Exception \NoSuchEntityException ;
1718use Magento \GraphQl \Controller \GraphQl as GraphQlController ;
1819
1920/**
2021 * Clear the user data out of the session object before returning the GraphQL response
22+ *
23+ * @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
2124 */
2225class ClearCustomerSessionAfterRequest
2326{
You can’t perform that action at this time.
0 commit comments