Mercurial > hg > isophonics-drupal-site
diff vendor/zendframework/zend-feed/src/Reader/Extension/Podcast/Feed.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 | c2387f117808 |
line wrap: on
line diff
--- a/vendor/zendframework/zend-feed/src/Reader/Extension/Podcast/Feed.php Fri Feb 23 15:51:18 2018 +0000 +++ b/vendor/zendframework/zend-feed/src/Reader/Extension/Podcast/Feed.php Fri Feb 23 15:52:07 2018 +0000 @@ -29,7 +29,7 @@ $author = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:author)'); - if (!$author) { + if (! $author) { $author = null; } @@ -51,7 +51,7 @@ $block = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:block)'); - if (!$block) { + if (! $block) { $block = null; } @@ -83,7 +83,7 @@ $children = []; foreach ($node->childNodes as $childNode) { - if (!($childNode instanceof DOMText)) { + if (! ($childNode instanceof DOMText)) { $children[$childNode->getAttribute('text')] = null; } } @@ -93,7 +93,7 @@ } } - if (!$categories) { + if (! $categories) { $categories = null; } @@ -115,7 +115,7 @@ $explicit = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:explicit)'); - if (!$explicit) { + if (! $explicit) { $explicit = null; } @@ -137,7 +137,7 @@ $image = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:image/@href)'); - if (!$image) { + if (! $image) { $image = null; } @@ -159,7 +159,7 @@ $keywords = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:keywords)'); - if (!$keywords) { + if (! $keywords) { $keywords = null; } @@ -181,7 +181,7 @@ $newFeedUrl = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:new-feed-url)'); - if (!$newFeedUrl) { + if (! $newFeedUrl) { $newFeedUrl = null; } @@ -206,13 +206,13 @@ $email = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:owner/itunes:email)'); $name = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:owner/itunes:name)'); - if (!empty($email)) { + if (! empty($email)) { $owner = $email . (empty($name) ? '' : ' (' . $name . ')'); - } elseif (!empty($name)) { + } elseif (! empty($name)) { $owner = $name; } - if (!$owner) { + if (! $owner) { $owner = null; } @@ -234,7 +234,7 @@ $subtitle = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:subtitle)'); - if (!$subtitle) { + if (! $subtitle) { $subtitle = null; } @@ -256,7 +256,7 @@ $summary = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:summary)'); - if (!$summary) { + if (! $summary) { $summary = null; }