[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:
Bocki 2023-03-06 20:01:51 +01:00 committed by GitHub
parent b40714079f
commit f0e5ef0fc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 57 additions and 100 deletions

View file

@ -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';
}