File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ private function getBaseDir($filePath)
164
164
* @param string $excludeFile The file to exclude from the search.
165
165
* @return array An array of paths to system.xml files, excluding the specified file.
166
166
*/
167
- private function getSystemXmlFiles ($ magentoBaseDir , $ excludeFile = null )
167
+ private function getSystemXmlFiles ($ magentoBaseDir , $ excludeFile = null ): array
168
168
{
169
169
$ systemXmlFiles = [];
170
170
$ directoryToSearch = [
@@ -195,7 +195,7 @@ private function getSystemXmlFiles($magentoBaseDir, $excludeFile = null)
195
195
* @param $nodePath
196
196
* @return array|null
197
197
*/
198
- private function extractSectionGroupField ($ nodePath )
198
+ private function extractSectionGroupField ($ nodePath ): ? array
199
199
{
200
200
$ parts = explode ('/ ' , $ nodePath );
201
201
@@ -218,7 +218,7 @@ private function extractSectionGroupField($nodePath)
218
218
* @return array
219
219
* @throws \ReflectionException
220
220
*/
221
- private function getNodeData ($ node )
221
+ private function getNodeData ($ node ): array
222
222
{
223
223
$ data = [];
224
224
@@ -406,7 +406,6 @@ private function isDuplicatedFieldInXml(
406
406
[
407
407
'status ' => 'duplicate ' ,
408
408
'field ' => $ fieldId
409
-
410
409
]
411
410
];
412
411
}
You can’t perform that action at this time.
0 commit comments