apply StyleCI recommendation

This commit is contained in:
El RIDO 2021-08-19 11:04:31 +02:00
parent eb10d4d35e
commit ff3b668958
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -101,7 +101,7 @@ class Configuration
*/ */
public function __construct() public function __construct()
{ {
$config = $basePaths = array(); $config = $basePaths = array();
$configPath = getenv('CONFIG_PATH'); $configPath = getenv('CONFIG_PATH');
if ($configPath !== false && !empty($configPath)) { if ($configPath !== false && !empty($configPath)) {
$basePaths[] = $configPath; $basePaths[] = $configPath;
@ -116,6 +116,7 @@ class Configuration
throw new Exception(I18n::_('PrivateBin requires configuration section [%s] to be present in configuration file.', $section), 2); throw new Exception(I18n::_('PrivateBin requires configuration section [%s] to be present in configuration file.', $section), 2);
} }
} }
break;
} }
} }