|
@@ -129,7 +129,7 @@ discard block |
|
|
block discarded – undo |
|
129
|
129
|
$resolver->setAllowedTypes("lastBuildDate", "callable"); |
|
130
|
130
|
$resolver->setDefault("lastBuildDate", "time"); |
|
131
|
131
|
$resolver->setDefined([ |
|
132
|
|
- "language", "copyright", "managingEditor", "webMaster", "ttl", "pubDate", "rating", "categories", "skipDays", |
|
|
132
|
+ "language", "copyright", "managingEditor", "webMaster", "ttl", "pubDate", "rating", "categories", "skipDays", |
|
133
|
133
|
"skipHours", "image", "cloud", "textInput", |
|
134
|
134
|
]); |
|
135
|
135
|
$resolver->setAllowedTypes("language", "string"); |
|
@@ -203,7 +203,7 @@ discard block |
|
|
block discarded – undo |
|
203
|
203
|
if($this->docs !== "") { |
|
204
|
204
|
$channel->channel->docs = $this->docs; |
|
205
|
205
|
} |
|
206
|
|
- $categories = Arrays::get($info, "categories", []); |
|
|
206
|
+ $categories = Arrays::get($info, "categories", []); |
|
207
|
207
|
array_walk($categories, function(Category $value) use($channel) { |
|
208
|
208
|
$value->appendToXml($channel->channel); |
|
209
|
209
|
}); |