File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Directory/Model/ResourceModel/Country
Sales/Block/Adminhtml/Order/Create/Form Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ private function getAllowedCountriesReader()
146
146
* @param string $scope
147
147
* @return self
148
148
*/
149
- public function loadByScope ($ filter , $ scope = ScopeInterface::SCOPE_STORE )
149
+ private function loadByScope ($ filter , $ scope = ScopeInterface::SCOPE_STORE )
150
150
{
151
151
$ allowedCountries = $ this ->getAllowedCountriesReader ()->getAllowedCountries ($ filter , $ scope );
152
152
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ private function processCountryOptions(\Magento\Framework\Data\Form\Element\Abst
302
302
{
303
303
$ storeId = $ this ->getBackendQuoteSession ()->getStoreId ();
304
304
$ options = $ this ->getCountriesCollection ()
305
- ->loadByScope ($ storeId, ScopeInterface:: SCOPE_STORE )
305
+ ->loadByStore ($ storeId )
306
306
->toOptionArray ();
307
307
308
308
$ countryElement ->setValues ($ options );
You can’t perform that action at this time.
0 commit comments