improve readability, kudos @rugk

This commit is contained in:
El RIDO 2021-08-19 19:28:52 +02:00
parent ff3b668958
commit df2f5931cd
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
1 changed files with 2 additions and 1 deletions

View File

@ -101,7 +101,8 @@ class Configuration
*/
public function __construct()
{
$config = $basePaths = array();
$basePaths = array();
$config = array();
$configPath = getenv('CONFIG_PATH');
if ($configPath !== false && !empty($configPath)) {
$basePaths[] = $configPath;