Skip to content

Commit 838fefa

Browse files
minor symfony#26195 [Serializer] remove unneeded php doc line (Simperfit)
This PR was merged into the 4.0 branch. Discussion ---------- [Serializer] remove unneeded php doc line | Q | A | ------------- | --- | Branch? | 4.0 | Bug fix? | no | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no | Deprecations? | no <!-- don't forget to update UPGRADE-*.md files --> | Tests pass? | yes | Fixed tickets | none | License | MIT | Doc PR | not needed This is just a little cleaning of the uneeded doc blocks. Commits ------- bbcaaef [Serializer] remove unneeded php doc line
2 parents 8faf29f + bbcaaef commit 838fefa

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/Symfony/Component/Serializer/Encoder/XmlEncoder.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ class XmlEncoder implements EncoderInterface, DecoderInterface, NormalizationAwa
4141
/**
4242
* Construct new XmlEncoder and allow to change the root node element name.
4343
*
44-
* @param string $rootNodeName
45-
* @param int|null $loadOptions A bit field of LIBXML_* constants
44+
* @param int|null $loadOptions A bit field of LIBXML_* constants
4645
*/
4746
public function __construct(string $rootNodeName = 'response', int $loadOptions = null)
4847
{
@@ -346,7 +345,6 @@ private function parseXmlValue(\DOMNode $node, array $context = array())
346345
/**
347346
* Parse the data and convert it to DOMElements.
348347
*
349-
* @param \DOMNode $parentNode
350348
* @param array|object $data
351349
*
352350
* @throws NotEncodableValueException
@@ -412,7 +410,6 @@ private function buildXml(\DOMNode $parentNode, $data, string $xmlRootNodeName =
412410
/**
413411
* Selects the type of node to create and appends it to the parent.
414412
*
415-
* @param \DOMNode $parentNode
416413
* @param array|object $data
417414
*/
418415
private function appendNode(\DOMNode $parentNode, $data, string $nodeName, string $key = null): bool
@@ -441,8 +438,7 @@ private function needsCdataWrapping(string $val): bool
441438
/**
442439
* Tests the value being passed and decide what sort of element to create.
443440
*
444-
* @param \DOMNode $node
445-
* @param mixed $val
441+
* @param mixed $val
446442
*
447443
* @throws NotEncodableValueException
448444
*/

0 commit comments

Comments
 (0)