diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2018-02-15 22:16:40 +0300 |
---|---|---|
committer | Felipe Figueroa <amenadiel@gmail.com> | 2018-02-15 22:16:40 +0300 |
commit | b4944af333e89b9aa9d3bb5e975a4787599a40fc (patch) | |
tree | 6a3168933e419b8e7e8854a888bb6a508ee43502 /src/controllers/LanguagesController.php | |
parent | 8c47e1b02e634855c2327c07a2770bd910072d70 (diff) |
remove trailing slashes from use statements
Diffstat (limited to 'src/controllers/LanguagesController.php')
-rw-r--r-- | src/controllers/LanguagesController.php | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/controllers/LanguagesController.php b/src/controllers/LanguagesController.php index 06cbddb7..a3cc2ba9 100644 --- a/src/controllers/LanguagesController.php +++ b/src/controllers/LanguagesController.php @@ -6,23 +6,23 @@ namespace PHPPgAdmin\Controller; -use \PHPPgAdmin\Decorators\Decorator; +use PHPPgAdmin\Decorators\Decorator; /** - * Base controller class + * Base controller class. */ class LanguagesController extends BaseController { public $controller_name = 'LanguagesController'; /** - * Default method to render the controller according to the action parameter + * Default method to render the controller according to the action parameter. */ public function render() { $conf = $this->conf; - $lang = $this->lang; + $lang = $this->lang; $action = $this->action; if ('tree' == $action) { return $this->doTree(); @@ -42,7 +42,8 @@ class LanguagesController extends BaseController } /** - * Show default list of languages in the database + * Show default list of languages in the database. + * * @param mixed $msg */ public function doDefault($msg = '') @@ -63,10 +64,10 @@ class LanguagesController extends BaseController 'title' => $lang['strname'], 'field' => Decorator::field('lanname'), ], - 'trusted' => [ + 'trusted' => [ 'title' => $lang['strtrusted'], 'field' => Decorator::field('lanpltrusted'), - 'type' => 'yesno', + 'type' => 'yesno', ], 'function' => [ 'title' => $lang['strfunction'], |