File tree 1 file changed +10
-6
lines changed
app/code/Magento/Directory/Setup/Patch/Data
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -40,16 +40,20 @@ public function __construct(
40
40
}
41
41
42
42
/**
43
- * @inheritdoc
43
+ * Add country-region data for Belarus.
44
+ *
45
+ * @return $this
44
46
*/
45
- public function apply ()
47
+ public function apply (): DataPatchInterface
46
48
{
47
49
/** @var DataInstaller $dataInstaller */
48
50
$ dataInstaller = $ this ->dataInstallerFactory ->create ();
49
51
$ dataInstaller ->addCountryRegions (
50
52
$ this ->moduleDataSetup ->getConnection (),
51
53
$ this ->getDataForBelarus ()
52
54
);
55
+
56
+ return $ this ;
53
57
}
54
58
55
59
/**
@@ -71,19 +75,19 @@ private function getDataForBelarus(): array
71
75
}
72
76
73
77
/**
74
- * @inheritdoc
78
+ * { @inheritdoc}
75
79
*/
76
- public static function getDependencies ()
80
+ public static function getDependencies (): array
77
81
{
78
82
return [
79
83
InitializeDirectoryData::class,
80
84
];
81
85
}
82
86
83
87
/**
84
- * @inheritdoc
88
+ * { @inheritdoc}
85
89
*/
86
- public function getAliases ()
90
+ public function getAliases (): array
87
91
{
88
92
return [];
89
93
}
You can’t perform that action at this time.
0 commit comments