Mercurial > hg > cmmr2012-drupal-site
diff vendor/zendframework/zend-feed/src/Reader/Extension/Syndication/Feed.php @ 2:5311817fb629
Theme updates
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 13:19:18 +0000 |
parents | c75dbcec494b |
children |
line wrap: on
line diff
--- a/vendor/zendframework/zend-feed/src/Reader/Extension/Syndication/Feed.php Thu Jul 05 15:32:06 2018 +0100 +++ b/vendor/zendframework/zend-feed/src/Reader/Extension/Syndication/Feed.php Tue Jul 10 13:19:18 2018 +0000 @@ -39,8 +39,7 @@ return $period; default: throw new Reader\Exception\InvalidArgumentException("Feed specified invalid update period: '$period'." - . " Must be one of hourly, daily, weekly or yearly" - ); + . " Must be one of hourly, daily, weekly or yearly"); } } @@ -54,7 +53,7 @@ $name = 'updateFrequency'; $freq = $this->getData($name, 'number'); - if (!$freq || $freq < 1) { + if (! $freq || $freq < 1) { $this->data[$name] = 1; return 1; } @@ -72,7 +71,7 @@ $name = 'updateFrequency'; $freq = $this->getData($name, 'number'); - if (!$freq || $freq < 1) { + if (! $freq || $freq < 1) { $this->data[$name] = 1; $freq = 1; } @@ -130,7 +129,7 @@ $data = $this->xpath->evaluate($type . '(' . $this->getXpathPrefix() . '/syn10:' . $name . ')'); - if (!$data) { + if (! $data) { $data = null; }