File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
app/code/Magento/Backend/Block/Store Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -462,7 +462,7 @@ public function getCurrentSelectionName()
462
462
/**
463
463
* Get current website name
464
464
*
465
- * @return string
465
+ * @return string | null
466
466
*/
467
467
public function getCurrentWebsiteName ()
468
468
{
@@ -473,12 +473,14 @@ public function getCurrentWebsiteName()
473
473
return $ website ->getName ();
474
474
}
475
475
}
476
+
477
+ return null ;
476
478
}
477
479
478
480
/**
479
481
* Get current store group name
480
482
*
481
- * @return string
483
+ * @return string | null
482
484
*/
483
485
public function getCurrentStoreGroupName ()
484
486
{
@@ -489,12 +491,14 @@ public function getCurrentStoreGroupName()
489
491
return $ group ->getName ();
490
492
}
491
493
}
494
+
495
+ return null ;
492
496
}
493
497
494
498
/**
495
499
* Get current store view name
496
500
*
497
- * @return string
501
+ * @return string | null
498
502
*/
499
503
public function getCurrentStoreName ()
500
504
{
@@ -505,6 +509,8 @@ public function getCurrentStoreName()
505
509
return $ store ->getName ();
506
510
}
507
511
}
512
+
513
+ return null ;
508
514
}
509
515
510
516
/**
You can’t perform that action at this time.
0 commit comments