File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/Checkout/Model Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ class Session extends \Magento\Framework\Session\SessionManager
48
48
*
49
49
* @var bool
50
50
*/
51
- protected $ _isLoading = false ;
51
+ private $ isLoading = false ;
52
52
53
53
/**
54
54
* Loaded order instance
@@ -219,10 +219,10 @@ public function getQuote()
219
219
$ this ->_eventManager ->dispatch ('custom_quote_process ' , ['checkout_session ' => $ this ]);
220
220
221
221
if ($ this ->_quote === null ) {
222
- if ($ this ->_isLoading ) {
222
+ if ($ this ->isLoading ) {
223
223
throw new \LogicException ("Infinite loop detected, review the trace for the looping path " );
224
224
}
225
- $ this ->_isLoading = true ;
225
+ $ this ->isLoading = true ;
226
226
$ quote = $ this ->quoteFactory ->create ();
227
227
if ($ this ->getQuoteId ()) {
228
228
try {
@@ -275,7 +275,7 @@ public function getQuote()
275
275
276
276
$ quote ->setStore ($ this ->_storeManager ->getStore ());
277
277
$ this ->_quote = $ quote ;
278
- $ this ->_isLoading = false ;
278
+ $ this ->isLoading = false ;
279
279
}
280
280
281
281
if (!$ this ->isQuoteMasked () && !$ this ->_customerSession ->isLoggedIn () && $ this ->getQuoteId ()) {
You can’t perform that action at this time.
0 commit comments