|
@@ -141,7 +141,7 @@ discard block |
|
|
block discarded – undo |
|
141
|
141
|
$resolver->setAllowedTypes("lastBuildDate", "callable"); |
|
142
|
142
|
$resolver->setDefault("lastBuildDate", "time"); |
|
143
|
143
|
$resolver->setDefined([ |
|
144
|
|
- "language", "copyright", "managingEditor", "webMaster", "ttl", "pubDate", "rating", "categories", "skipDays", |
|
|
144
|
+ "language", "copyright", "managingEditor", "webMaster", "ttl", "pubDate", "rating", "categories", "skipDays", |
|
145
|
145
|
"skipHours", |
|
146
|
146
|
]); |
|
147
|
147
|
$resolver->setAllowedTypes("language", "string"); |
|
@@ -223,7 +223,7 @@ discard block |
|
|
block discarded – undo |
|
223
|
223
|
$channel->channel->docs = $this->docs; |
|
224
|
224
|
} |
|
225
|
225
|
$this->writeProperty($channel, $info, "rating"); |
|
226
|
|
- $categories = Arrays::get($info, "categories", []); |
|
|
226
|
+ $categories = Arrays::get($info, "categories", []); |
|
227
|
227
|
array_walk($categories, function(Category $value) use($channel) { |
|
228
|
228
|
$value->appendToXml($channel->channel); |
|
229
|
229
|
}); |