aboutsummaryrefslogtreecommitdiff
path: root/lib/BridgeAbstract.php
diff options
context:
space:
mode:
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()