@@ -75,7 +75,7 @@ class DataObjectHandler implements ObjectHandlerInterface
75
75
76
76
/**
77
77
* Constructor
78
- * @param bool $validateName Set to false to disable name validations
78
+ * @param boolean $validateName Set to false to disable name validations.
79
79
* @throws XmlException
80
80
*/
81
81
private function __construct ($ validateName = true )
@@ -94,7 +94,7 @@ private function __construct($validateName = true)
94
94
/**
95
95
* Return the singleton instance of this class. Initialize it if needed.
96
96
*
97
- * @param bool $validateName
97
+ * @param boolean $validateName
98
98
* @return DataObjectHandler
99
99
* @throws \Exception
100
100
*/
@@ -138,10 +138,11 @@ public function getAllObjects()
138
138
* Convert the parser output into a collection of EntityDataObjects
139
139
*
140
140
* @param string[] $parserOutput Primitive array output from the Magento parser.
141
- * @param bool $validateName
141
+ * @param boolean $validateName
142
142
* @return EntityDataObject[]
143
143
* @throws XmlException
144
144
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
145
+ * @SuppressWarnings(PHPMD.NPathComplexity)
145
146
*/
146
147
private function processParserOutput ($ parserOutput , $ validateName = true )
147
148
{
@@ -245,7 +246,7 @@ private function processArray($arrayItems, $data, $key)
245
246
* Parses <data> elements in an entity, and returns them as an array of "lowerKey"=>value.
246
247
*
247
248
* @param string[] $entityData
248
- * @param bool $validateName
249
+ * @param boolean $validateName
249
250
* @return string[]
250
251
*/
251
252
private function processDataElements ($ entityData , $ validateName = true )
0 commit comments