@@ -25,5 +25,7 @@ |
||
| 25 | 25 | const PRE_DESERIALIZE = 'serializer.pre_deserialize'; |
| 26 | 26 | const POST_DESERIALIZE = 'serializer.post_deserialize'; |
| 27 | 27 | |
| 28 | - final private function __construct() { } |
|
| 28 | + final private function __construct() |
|
| 29 | + { |
|
| 30 | +} |
|
| 29 | 31 | } |
@@ -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); |
@@ -437,6 +440,9 @@ discard block |
||
| 437 | 440 | } |
| 438 | 441 | } |
| 439 | 442 | |
| 443 | + /** |
|
| 444 | + * @return \DOMNode |
|
| 445 | + */ |
|
| 440 | 446 | private function createElement($tagName, $namespace = null) |
| 441 | 447 | { |
| 442 | 448 | if (null !== $namespace) { |
@@ -456,6 +462,9 @@ discard block |
||
| 456 | 462 | } |
| 457 | 463 | } |
| 458 | 464 | |
| 465 | + /** |
|
| 466 | + * @param string $value |
|
| 467 | + */ |
|
| 459 | 468 | private function setAttributeOnNode(\DOMElement $node, $name, $value, $namespace = null) |
| 460 | 469 | { |
| 461 | 470 | if (null !== $namespace) { |
@@ -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 | */ |
@@ -155,7 +155,7 @@ |
||
| 155 | 155 | $parentStr |
| 156 | 156 | ) = $unserialized; |
| 157 | 157 | |
| 158 | - if (isset($unserialized['xmlEntryNamespace'])){ |
|
| 158 | + if (isset($unserialized['xmlEntryNamespace'])) { |
|
| 159 | 159 | $this->xmlEntryNamespace = $unserialized['xmlEntryNamespace']; |
| 160 | 160 | } |
| 161 | 161 | |