Mercurial > hg > isophonics-drupal-site
diff vendor/zendframework/zend-feed/src/Reader/Feed/AbstractFeed.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
line wrap: on
line diff
--- a/vendor/zendframework/zend-feed/src/Reader/Feed/AbstractFeed.php Fri Feb 23 15:51:18 2018 +0000 +++ b/vendor/zendframework/zend-feed/src/Reader/Feed/AbstractFeed.php Fri Feb 23 15:52:07 2018 +0000 @@ -172,7 +172,7 @@ */ public function saveXml() { - return $this->getDomDocument()->saveXml(); + return $this->getDomDocument()->saveXML(); } /** @@ -282,8 +282,10 @@ if (in_array($extension, $all['core'])) { continue; } - if (!$manager->has($extension)) { - throw new Exception\RuntimeException(sprintf('Unable to load extension "%s"; cannot find class', $extension)); + if (! $manager->has($extension)) { + throw new Exception\RuntimeException( + sprintf('Unable to load extension "%s"; cannot find class', $extension) + ); } $plugin = $manager->get($extension); $plugin->setDomDocument($this->getDomDocument());