Completed
Pull Request — master (#727)
by Gerben
06:35
created
src/JMS/Serializer/XmlDeserializationVisitor.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@  discard block
 block discarded – undo
85 85
         return $doc;
86 86
     }
87 87
 
88
+    /**
89
+     * @return string
90
+     */
88 91
     private function emptyStringToSpaceCharacter($data)
89 92
     {
90 93
         return $data === '' ? ' ' : $data;
@@ -359,7 +362,6 @@  discard block
 block discarded – undo
359 362
     /**
360 363
      * Retrieves internalSubset even in bugfixed php versions
361 364
      *
362
-     * @param \DOMDocumentType $child
363 365
      * @param string $data
364 366
      * @return string
365 367
      */
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   +9 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) {
@@ -476,6 +482,9 @@  discard block
 block discarded – undo
476 482
         return $this->document->createElementNS($namespace, $prefix . ':' . $tagName);
477 483
     }
478 484
 
485
+    /**
486
+     * @param string $value
487
+     */
479 488
     private function setAttributeOnNode(\DOMElement $node, $name, $value, $namespace = null)
480 489
     {
481 490
         if (null !== $namespace) {
Please login to merge, or discard this patch.