@@ -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 | */ |
@@ -72,7 +72,7 @@ discard block |
||
| 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 |
||
| 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( |
@@ -47,6 +47,9 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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) { |