diff options
author | 2024-08-11 02:31:50 +0200 | |
---|---|---|
committer | 2024-08-11 02:31:50 +0200 | |
commit | 4424ea54e93da9e9ea125e07037bc3db7e8af590 (patch) | |
tree | 5ce2033e58b7511ec94a5f76396fc13668822355 /lib/BridgeAbstract.php | |
parent | 133dbf87c50c70f8644cfd7916aff3daa8fac520 (diff) | |
download | rss-bridge-4424ea54e93da9e9ea125e07037bc3db7e8af590.tar.gz rss-bridge-4424ea54e93da9e9ea125e07037bc3db7e8af590.tar.zst rss-bridge-4424ea54e93da9e9ea125e07037bc3db7e8af590.zip |
chore: increase linter speed (#4211)
Diffstat (limited to 'lib/BridgeAbstract.php')
-rw-r--r-- | lib/BridgeAbstract.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/BridgeAbstract.php b/lib/BridgeAbstract.php index 6444b6aa..23e90e13 100644 --- a/lib/BridgeAbstract.php +++ b/lib/BridgeAbstract.php @@ -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() |