Fix changelog and minor tweak for #23485

This commit is contained in:
Maxime Steinhausser 2017-09-26 22:01:10 +02:00
parent 3ab655ec82
commit 6fcb075683
2 changed files with 7 additions and 6 deletions

View File

@ -5,6 +5,7 @@ CHANGELOG
-----
* added `setDeprecated()` method to indicate a deprecated node
* added `XmlUtils::parse()` method to parse an XML string
3.3.0
-----

View File

@ -40,9 +40,9 @@ class XmlUtils
*
* @return \DOMDocument
*
* @throws \Symfony\Component\Config\Util\Exception\XmlParsingException When parsing of XML file returns error
* @throws \Symfony\Component\Config\Util\Exception\InvalidXmlException When parsing of XML with schema or callable produces any errors unrelated to the XML parsing itself
* @throws \RuntimeException When DOM extension is missing
* @throws XmlParsingException When parsing of XML file returns error
* @throws InvalidXmlException When parsing of XML with schema or callable produces any errors unrelated to the XML parsing itself
* @throws \RuntimeException When DOM extension is missing
*/
public static function parse($content, $schemaOrCallable = null)
{
@ -116,9 +116,9 @@ class XmlUtils
*
* @return \DOMDocument
*
* @throws \InvalidArgumentException When loading of XML file returns error
* @throws \Symfony\Component\Config\Util\Exception\XmlParsingException when XML parsing returns any errors
* @throws \RuntimeException When DOM extension is missing
* @throws \InvalidArgumentException When loading of XML file returns error
* @throws XmlParsingException When XML parsing returns any errors
* @throws \RuntimeException When DOM extension is missing
*/
public static function loadFile($file, $schemaOrCallable = null)
{