Skip to content

Commit

Permalink
fix: return a default config name if none set
Browse files Browse the repository at this point in the history
  • Loading branch information
stmh committed Jul 5, 2022
1 parent 9d288a6 commit 30dfffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration/HostConfigAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function setData($data)

public function getConfigName()
{
return $this->data['configName'];
return $this->data['configName'] ?? 'unknown config name';
}

public function getPublicUrls()
Expand Down

0 comments on commit 30dfffa

Please sign in to comment.