Skip to content

Commit

Permalink
fix: getConfigName will return sth instead of erroring out
Browse files Browse the repository at this point in the history
  • Loading branch information
stmh committed Jul 5, 2022
1 parent a8a4ec9 commit a146b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration/HostConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,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 a146b65

Please sign in to comment.