| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function deserializeFaultDetail(XmlDeserializationVisitor $visitor, \SimpleXMLElement $data, array $type, DeserializationContext $context) |
||
| 24 | { |
||
| 25 | $domElement = dom_import_simplexml($data); |
||
| 26 | |||
| 27 | $document = new \DOMDocument('1.0', 'utf-8'); |
||
| 28 | |||
| 29 | $xml = ''; |
||
| 30 | foreach ($domElement->childNodes as $child) { |
||
| 31 | $newEl = $document->importNode($child, true); |
||
| 32 | $xml .= $document->saveXML($newEl); |
||
| 33 | } |
||
| 34 | return $xml; |
||
| 35 | } |
||
| 36 | } |
||
| 40 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.