aboutsummaryrefslogtreecommitdiff
path: root/lib/BridgeAbstract.php
diff options
context:
space:
mode:
authorGravatar Dag <me@dvikan.no> 2024-08-11 02:31:50 +0200
committerGravatar GitHub <noreply@github.com> 2024-08-11 02:31:50 +0200
commit4424ea54e93da9e9ea125e07037bc3db7e8af590 (patch)
tree5ce2033e58b7511ec94a5f76396fc13668822355 /lib/BridgeAbstract.php
parent133dbf87c50c70f8644cfd7916aff3daa8fac520 (diff)
downloadrss-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.php6
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()