mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-06-26 04:43:49 +02:00
chore: increase linter speed (#4211)
This commit is contained in:
@ -2,8 +2,8 @@
|
||||
|
||||
abstract class BridgeAbstract
|
||||
{
|
||||
const NAME = 'Unnamed bridge';
|
||||
const URI = '';
|
||||
const NAME = null;
|
||||
const URI = null;
|
||||
const DONATION_URI = '';
|
||||
const DESCRIPTION = 'No description provided';
|
||||
|
||||
@ -61,7 +61,7 @@ abstract class BridgeAbstract
|
||||
|
||||
public function getName()
|
||||
{
|
||||
return static::NAME;
|
||||
return static::NAME ?? $this->getShortName();
|
||||
}
|
||||
|
||||
public function getURI()
|
||||
|
Reference in New Issue
Block a user