Skip to content

Commit

Permalink
feat(phpcs): Minor phpcs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sylus committed Nov 13, 2023
1 parent f93b77f commit 50d6558
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/custom/wxt_core/wxt_core.install
Original file line number Diff line number Diff line change
Expand Up @@ -675,11 +675,11 @@ function wxt_core_update_8500() {
* Setup CountryManager lists [#3111375].
*/
function wxt_core_update_8501() {
// [#3399929] wxt_core_update_8502 in favour
// [#3399929] wxt_core_update_8502
}

/**
* [#3399929] Change wxt_core countries config namespace.
* [#3399929] Change wxt_core countries config namespace.
*/
function wxt_core_update_8502() {
$legacy = 'wxt_core_countries.settings';
Expand All @@ -696,7 +696,8 @@ function wxt_core_update_8502() {
$config->save();
// Delete old data.
$country_data->delete();
} else {
}
else {
$country_data = Yaml::parse(\file_get_contents($path));
$config = $config_factory->getEditable($updated);
$config->setData($country_data);
Expand Down

0 comments on commit 50d6558

Please sign in to comment.