Skip to content

Commit 6fcb075

Browse files
committed
Fix changelog and minor tweak for symfony#23485
1 parent 3ab655e commit 6fcb075

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/Symfony/Component/Config/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CHANGELOG
55
-----
66

77
* added `setDeprecated()` method to indicate a deprecated node
8+
* added `XmlUtils::parse()` method to parse an XML string
89

910
3.3.0
1011
-----

src/Symfony/Component/Config/Util/XmlUtils.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ private function __construct()
4040
*
4141
* @return \DOMDocument
4242
*
43-
* @throws \Symfony\Component\Config\Util\Exception\XmlParsingException When parsing of XML file returns error
44-
* @throws \Symfony\Component\Config\Util\Exception\InvalidXmlException When parsing of XML with schema or callable produces any errors unrelated to the XML parsing itself
45-
* @throws \RuntimeException When DOM extension is missing
43+
* @throws XmlParsingException When parsing of XML file returns error
44+
* @throws InvalidXmlException When parsing of XML with schema or callable produces any errors unrelated to the XML parsing itself
45+
* @throws \RuntimeException When DOM extension is missing
4646
*/
4747
public static function parse($content, $schemaOrCallable = null)
4848
{
@@ -116,9 +116,9 @@ public static function parse($content, $schemaOrCallable = null)
116116
*
117117
* @return \DOMDocument
118118
*
119-
* @throws \InvalidArgumentException When loading of XML file returns error
120-
* @throws \Symfony\Component\Config\Util\Exception\XmlParsingException when XML parsing returns any errors
121-
* @throws \RuntimeException When DOM extension is missing
119+
* @throws \InvalidArgumentException When loading of XML file returns error
120+
* @throws XmlParsingException When XML parsing returns any errors
121+
* @throws \RuntimeException When DOM extension is missing
122122
*/
123123
public static function loadFile($file, $schemaOrCallable = null)
124124
{

0 commit comments

Comments
 (0)