Completed
Pull Request — master (#745)
by Joseph
04:46
created
src/JMS/Serializer/XmlSerializationVisitor.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -132,6 +132,9 @@  discard block
 block discarded – undo
132 132
         return $doCData ? $this->document->createCDATASection($data) : $this->document->createTextNode((string) $data);
133 133
     }
134 134
 
135
+    /**
136
+     * @param string $data
137
+     */
135 138
     public function visitSimpleString($data, array $type, Context $context)
136 139
     {
137 140
         if (null === $this->document) {
@@ -478,6 +481,9 @@  discard block
 block discarded – undo
478 481
         return $this->document->createElementNS($namespace, $prefix . ':' . $tagName);
479 482
     }
480 483
 
484
+    /**
485
+     * @param string $value
486
+     */
481 487
     private function setAttributeOnNode(\DOMElement $node, $name, $value, $namespace = null)
482 488
     {
483 489
         if (null !== $namespace) {
Please login to merge, or discard this patch.