Skip to content

Commit

Permalink
Bulgarian states data
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikola Lardev committed Apr 23, 2020
1 parent b2547c8 commit 9bced35
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Class AddDataForBulgaria
* @package Magento\Directory\Setup\Patch
*/
class AddDataForCroatia implements DataPatchInterface, PatchVersionInterface
class AddDataForBulgaria implements DataPatchInterface, PatchVersionInterface
{
/**
* @var ModuleDataSetupInterface
Expand All @@ -29,7 +29,7 @@ class AddDataForCroatia implements DataPatchInterface, PatchVersionInterface
private $dataInstallerFactory;

/**
* AddDataForCroatia constructor.
* AddDataForBulgaria constructor.
*
* @param ModuleDataSetupInterface $moduleDataSetup
* @param \Magento\Directory\Setup\DataInstallerFactory $dataInstallerFactory
Expand All @@ -51,16 +51,16 @@ public function apply()
$dataInstaller = $this->dataInstallerFactory->create();
$dataInstaller->addCountryRegions(
$this->moduleDataSetup->getConnection(),
$this->getDataForCroatia()
$this->getDataForBulgaria()
);
}

/**
* Croatian states data.
* Bulgarian states data.
*
* @return array
*/
private function getDataForCroatia()
private function getDataForBulgaria()
{
return [
['BG', 'BG-01', 'Blagoevgrad'],
Expand Down

0 comments on commit 9bced35

Please sign in to comment.