Commit c51817f
committed
#39905 Product Removed on Mobile Still Appears in Web's Mini Compare Section Until Re-login
Refactor CompareCookieManager to use readonly properties
Replaced manually assigned properties with readonly properties in the constructor to simplify initialization and improve immutability. Updated exception handling to use the imported Exception class instead of a fully qualified name.1 parent 402ce4f commit c51817f
File tree
1 file changed
+5
-22
lines changed- app/code/Magento/CompareListGraphQl/Model/Service
1 file changed
+5
-22
lines changedLines changed: 5 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 40 | | |
55 | 41 | | |
56 | 42 | | |
57 | 43 | | |
58 | 44 | | |
59 | 45 | | |
60 | | - | |
61 | | - | |
62 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
63 | 49 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 50 | | |
68 | 51 | | |
69 | 52 | | |
| |||
76 | 59 | | |
77 | 60 | | |
78 | 61 | | |
79 | | - | |
| 62 | + | |
80 | 63 | | |
81 | 64 | | |
82 | 65 | | |
| |||
0 commit comments