File tree 1 file changed +4
-2
lines changed
app/code/Magento/Persistent/Observer 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ public function __construct(
60
60
\Magento \Customer \Model \Session $ customerSession ,
61
61
\Magento \Customer \Api \CustomerRepositoryInterface $ customerRepository ,
62
62
\Magento \Customer \Api \AddressRepositoryInterface $ addressRepository
63
-
64
63
) {
65
64
$ this ->_persistentSession = $ persistentSession ;
66
65
$ this ->_persistentData = $ persistentData ;
@@ -73,6 +72,8 @@ public function __construct(
73
72
* Set persistent data to customer session
74
73
*
75
74
* @param \Magento\Framework\Event\Observer $observer
75
+ * @SuppressWarnings(PHPMD.CyclomaticComplexity)
76
+ *
76
77
* @return $this
77
78
*/
78
79
public function execute (\Magento \Framework \Event \Observer $ observer )
@@ -95,7 +96,8 @@ public function execute(\Magento\Framework\Event\Observer $observer)
95
96
? $ address ->getRegionId ()
96
97
: null ,
97
98
'postcode ' => $ address ->getPostcode (),
98
- ]);
99
+ ]
100
+ );
99
101
}
100
102
}
101
103
You can’t perform that action at this time.
0 commit comments