Explorar o código

apply StyleCI recommendation

El RIDO %!s(int64=5) %!d(string=hai) anos
pai
achega
ff3b668958
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      lib/Configuration.php

+ 2 - 1
lib/Configuration.php

@@ -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;
             }
             }
         }
         }