| @@ -346,7 +346,6 @@ | ||
| 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 | */ | 
| @@ -18,7 +18,6 @@ | ||
| 18 | 18 | |
| 19 | 19 | namespace JMS\Serializer; | 
| 20 | 20 | |
| 21 | -use JMS\Serializer\Exception\LogicException; | |
| 22 | 21 | use JMS\Serializer\Exception\RuntimeException; | 
| 23 | 22 | use Metadata\MetadataFactoryInterface; | 
| 24 | 23 | |
| @@ -19,7 +19,6 @@ | ||
| 19 | 19 | namespace JMS\Serializer\Metadata\Driver; | 
| 20 | 20 | |
| 21 | 21 | use JMS\Serializer\Annotation\Discriminator; | 
| 22 | -use JMS\Serializer\Annotation\ExcludeIf; | |
| 23 | 22 | use JMS\Serializer\Annotation\XmlDiscriminator; | 
| 24 | 23 | use JMS\Serializer\GraphNavigator; | 
| 25 | 24 | use JMS\Serializer\Annotation\HandlerCallback; | 
| @@ -132,6 +132,9 @@ discard block | ||
| 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 | ||
| 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) { |