We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e174b11 commit 02d2b07Copy full SHA for 02d2b07
ToolkitApi/ToolkitPCML.php
@@ -353,6 +353,8 @@ public function singlePcmlToParam(\SimpleXmlElement $dataElement)
353
$passBy = 'val'; // rare. PCML calls it 'value'. XMLSERVICE calls it 'val'.
354
}
355
356
+ $newtype = '';
357
+
358
// find new toolkit equivalent of PCML data type
359
if (isset($this->_pcmlTypeMap[$type])) {
360
// a simple type mapping
@@ -367,8 +369,6 @@ public function singlePcmlToParam(\SimpleXmlElement $dataElement)
367
369
$newType = ''; // no match
368
370
} //(length == 2, et al.)
371
- } else {
- $newtype = '';
372
373
374
$newInout = (isset($this->_pcmlInoutMap[$usage])) ? (string) $this->_pcmlInoutMap[$usage] : '';
0 commit comments