diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2018-02-15 18:24:34 +0300 |
---|---|---|
committer | Felipe Figueroa <amenadiel@gmail.com> | 2018-02-15 18:24:34 +0300 |
commit | d62dd08ea5f4095cc59bd2c8c895160824f6fcd9 (patch) | |
tree | e0fc386737f6ddc64acb8d028ab72f6d379edc0d /src/controllers/LanguagesController.php | |
parent | 86de65b82a346ace16018f39866e5ed3996dacd1 (diff) |
applies cs-fixer
Diffstat (limited to 'src/controllers/LanguagesController.php')
-rw-r--r-- | src/controllers/LanguagesController.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/controllers/LanguagesController.php b/src/controllers/LanguagesController.php index 6c97163f..68348562 100644 --- a/src/controllers/LanguagesController.php +++ b/src/controllers/LanguagesController.php @@ -1,5 +1,9 @@ <?php +/* + * PHPPgAdmin v6.0.0-beta.30 + */ + namespace PHPPgAdmin\Controller; use \PHPPgAdmin\Decorators\Decorator; @@ -17,7 +21,7 @@ class LanguagesController extends BaseController $lang = $this->lang; $action = $this->action; - if ($action == 'tree') { + if ('tree' == $action) { return $this->doTree(); } @@ -27,6 +31,7 @@ class LanguagesController extends BaseController switch ($action) { default: $this->doDefault(); + break; } @@ -35,6 +40,7 @@ class LanguagesController extends BaseController /** * Show default list of languages in the database + * @param mixed $msg */ public function doDefault($msg = '') { |