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)
164164 * @param string $excludeFile The file to exclude from the search.
165165 * @return array An array of paths to system.xml files, excluding the specified file.
166166 */
167- private function getSystemXmlFiles ($ magentoBaseDir , $ excludeFile = null )
167+ private function getSystemXmlFiles ($ magentoBaseDir , $ excludeFile = null ): array
168168 {
169169 $ systemXmlFiles = [];
170170 $ directoryToSearch = [
@@ -195,7 +195,7 @@ private function getSystemXmlFiles($magentoBaseDir, $excludeFile = null)
195195 * @param $nodePath
196196 * @return array|null
197197 */
198- private function extractSectionGroupField ($ nodePath )
198+ private function extractSectionGroupField ($ nodePath ): ? array
199199 {
200200 $ parts = explode ('/ ' , $ nodePath );
201201
@@ -218,7 +218,7 @@ private function extractSectionGroupField($nodePath)
218218 * @return array
219219 * @throws \ReflectionException
220220 */
221- private function getNodeData ($ node )
221+ private function getNodeData ($ node ): array
222222 {
223223 $ data = [];
224224
@@ -406,7 +406,6 @@ private function isDuplicatedFieldInXml(
406406 [
407407 'status ' => 'duplicate ' ,
408408 'field ' => $ fieldId
409-
410409 ]
411410 ];
412411 }
You can’t perform that action at this time.
0 commit comments