@@ -162,6 +162,9 @@ |
||
| 162 | 162 | ; |
| 163 | 163 | } |
| 164 | 164 | |
| 165 | + /** |
|
| 166 | + * @param string $format |
|
| 167 | + */ |
|
| 165 | 168 | private function visit(VisitorInterface $visitor, Context $context, $data, $format, array $type = null) |
| 166 | 169 | { |
| 167 | 170 | $context->initialize( |
@@ -32,6 +32,9 @@ discard block |
||
| 32 | 32 | private $dataStack; |
| 33 | 33 | private $data; |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param Naming\PropertyNamingStrategyInterface $namingStrategy |
|
| 37 | + */ |
|
| 35 | 38 | public function __construct($namingStrategy) |
| 36 | 39 | { |
| 37 | 40 | parent::__construct($namingStrategy); |
@@ -194,7 +197,6 @@ discard block |
||
| 194 | 197 | /** |
| 195 | 198 | * Allows you to remove data from the current object based on name. |
| 196 | 199 | * |
| 197 | - * @param string $key |
|
| 198 | 200 | * @throws Exception\InvalidArgumentException |
| 199 | 201 | */ |
| 200 | 202 | public function removeDataPropertyName($propertyName) |
@@ -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 | */ |
@@ -44,6 +44,9 @@ discard block |
||
| 44 | 44 | private $nullWasVisited; |
| 45 | 45 | private $objectMetadataStack; |
| 46 | 46 | |
| 47 | + /** |
|
| 48 | + * @param Naming\PropertyNamingStrategyInterface $namingStrategy |
|
| 49 | + */ |
|
| 47 | 50 | public function __construct($namingStrategy) |
| 48 | 51 | { |
| 49 | 52 | parent::__construct($namingStrategy); |
@@ -126,6 +129,9 @@ discard block |
||
| 126 | 129 | return $doCData ? $this->document->createCDATASection($data) : $this->document->createTextNode((string) $data); |
| 127 | 130 | } |
| 128 | 131 | |
| 132 | + /** |
|
| 133 | + * @param string $data |
|
| 134 | + */ |
|
| 129 | 135 | public function visitSimpleString($data, array $type, Context $context) |
| 130 | 136 | { |
| 131 | 137 | if (null === $this->document) { |
@@ -437,6 +443,9 @@ discard block |
||
| 437 | 443 | } |
| 438 | 444 | } |
| 439 | 445 | |
| 446 | + /** |
|
| 447 | + * @return \DOMNode |
|
| 448 | + */ |
|
| 440 | 449 | private function createElement($tagName, $namespace = null) |
| 441 | 450 | { |
| 442 | 451 | if (null !== $namespace) { |
@@ -456,6 +465,9 @@ discard block |
||
| 456 | 465 | } |
| 457 | 466 | } |
| 458 | 467 | |
| 468 | + /** |
|
| 469 | + * @param string $value |
|
| 470 | + */ |
|
| 459 | 471 | private function setAttributeOnNode(\DOMElement $node, $name, $value, $namespace = null) |
| 460 | 472 | { |
| 461 | 473 | if (null !== $namespace) { |