Completed
Pull Request — master (#714)
by Andreas
08:44
created
src/JMS/Serializer/XmlDeserializationVisitor.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -346,7 +346,6 @@
 block discarded – undo
346 346
     /**
347 347
      * Retrieves internalSubset even in bugfixed php versions
348 348
      *
349
-     * @param \DOMDocumentType $child
350 349
      * @param string $data
351 350
      * @return string
352 351
      */
Please login to merge, or discard this patch.
src/JMS/Serializer/Serializer.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      * @param \PhpCollection\MapInterface $deserializationVisitors of VisitorInterface
73 73
      * @param EventDispatcher\EventDispatcherInterface $dispatcher
74 74
      * @param TypeParser $typeParser
75
-     * @param ExpressionEvaluatorInterface $expressionLanguage
75
+     * @param ExpressionEvaluatorInterface $expressionEvaluator
76 76
      */
77 77
     public function __construct(
78 78
         MetadataFactoryInterface $factory,
@@ -179,6 +179,9 @@  discard block
 block discarded – undo
179 179
         ;
180 180
     }
181 181
 
182
+    /**
183
+     * @param string $format
184
+     */
182 185
     private function visit(VisitorInterface $visitor, Context $context, $data, $format, array $type = null)
183 186
     {
184 187
         $context->initialize(
Please login to merge, or discard this patch.
src/JMS/Serializer/XmlSerializationVisitor.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@  discard block
 block discarded – undo
47 47
     /** @var boolean */
48 48
     private $formatOutput;
49 49
 
50
+    /**
51
+     * @param Naming\PropertyNamingStrategyInterface $namingStrategy
52
+     */
50 53
     public function __construct($namingStrategy)
51 54
     {
52 55
         parent::__construct($namingStrategy);
@@ -130,6 +133,9 @@  discard block
 block discarded – undo
130 133
         return $doCData ? $this->document->createCDATASection($data) : $this->document->createTextNode((string) $data);
131 134
     }
132 135
 
136
+    /**
137
+     * @param string $data
138
+     */
133 139
     public function visitSimpleString($data, array $type, Context $context)
134 140
     {
135 141
         if (null === $this->document) {
@@ -452,6 +458,9 @@  discard block
 block discarded – undo
452 458
         }
453 459
     }
454 460
 
461
+    /**
462
+     * @return \DOMNode
463
+     */
455 464
     private function createElement($tagName, $namespace = null)
456 465
     {
457 466
         if (null === $namespace) {
@@ -467,6 +476,9 @@  discard block
 block discarded – undo
467 476
         return $this->document->createElement($prefix . ':' . $tagName);
468 477
     }
469 478
 
479
+    /**
480
+     * @param string $value
481
+     */
470 482
     private function setAttributeOnNode(\DOMElement $node, $name, $value, $namespace = null)
471 483
     {
472 484
         if (null !== $namespace) {
Please login to merge, or discard this patch.