Skip to content

Commit

Permalink
Fix changelog and minor tweak for #23485
Browse files Browse the repository at this point in the history
  • Loading branch information
ogizanagi committed Sep 26, 2017
1 parent 3ab655e commit 6fcb075
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/Symfony/Component/Config/CHANGELOG.md
Expand Up @@ -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
-----
Expand Down
12 changes: 6 additions & 6 deletions src/Symfony/Component/Config/Util/XmlUtils.php
Expand Up @@ -40,9 +40,9 @@ private function __construct()
*
* @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)
{
Expand Down Expand Up @@ -116,9 +116,9 @@ public static function parse($content, $schemaOrCallable = null)
*
* @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)
{
Expand Down

0 comments on commit 6fcb075

Please sign in to comment.