mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-30 19:40:00 +02:00
[Various] getKey replacements and docu (#3283)
* [Various] getKey replacements and docu * more bridges and fix to the abstract * linting * revert bandcampdaily. doing more than i thought
This commit is contained in:
@@ -76,11 +76,7 @@ class PixivBridge extends BridgeAbstract
|
||||
default:
|
||||
return parent::getName();
|
||||
}
|
||||
$mode = array_search(
|
||||
$this->getInput('mode'),
|
||||
self::PARAMETERS['global']['mode']['values']
|
||||
);
|
||||
return "Pixiv ${mode} from ${context} ${query}";
|
||||
return 'Pixiv ' . $this->getKey('mode') . " from ${context} ${query}";
|
||||
}
|
||||
|
||||
public function getURI()
|
||||
@@ -149,7 +145,6 @@ class PixivBridge extends BridgeAbstract
|
||||
public function collectData()
|
||||
{
|
||||
$content = $this->collectWorksArray();
|
||||
|
||||
$content = array_filter($content, function ($v, $k) {
|
||||
return !array_key_exists('isAdContainer', $v);
|
||||
}, ARRAY_FILTER_USE_BOTH);
|
||||
|
Reference in New Issue
Block a user