mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-09 10:06:33 +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:
@@ -47,13 +47,9 @@ class NpciBridge extends BridgeAbstract
|
||||
|
||||
public function getName()
|
||||
{
|
||||
$product = $this->getInput('product');
|
||||
if ($product) {
|
||||
$productNameMap = array_flip(self::PARAMETERS[0]['product']['values']);
|
||||
$productName = $productNameMap[$product];
|
||||
return "NPCI Circulars: $productName";
|
||||
if ($this->getInput('product')) {
|
||||
return 'NPCI Circulars: ' . $this->getKey('product');
|
||||
}
|
||||
|
||||
return 'NPCI Circulars';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user