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/OpclassesController.php | |
parent | 8c47e1b02e634855c2327c07a2770bd910072d70 (diff) |
remove trailing slashes from use statements
Diffstat (limited to 'src/controllers/OpclassesController.php')
-rw-r--r-- | src/controllers/OpclassesController.php | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/controllers/OpclassesController.php b/src/controllers/OpclassesController.php index 11782767..99312699 100644 --- a/src/controllers/OpclassesController.php +++ b/src/controllers/OpclassesController.php @@ -9,14 +9,14 @@ namespace PHPPgAdmin\Controller; use PHPPgAdmin\Decorators\Decorator; /** - * Base controller class + * Base controller class. */ class OpclassesController extends BaseController { public $controller_name = 'OpclassesController'; /** - * 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() { @@ -43,9 +43,10 @@ class OpclassesController extends BaseController } /** - * Show default list of opclasss in the database + * Show default list of opclasss in the database. * * @param string $msg + * * @return string|void */ public function doDefault($msg = '') @@ -66,20 +67,20 @@ class OpclassesController extends BaseController 'title' => $lang['straccessmethod'], 'field' => Decorator::field('amname'), ], - 'opclass' => [ + 'opclass' => [ 'title' => $lang['strname'], 'field' => Decorator::field('opcname'), ], - 'type' => [ + 'type' => [ 'title' => $lang['strtype'], 'field' => Decorator::field('opcintype'), ], - 'default' => [ + 'default' => [ 'title' => $lang['strdefault'], 'field' => Decorator::field('opcdefault'), - 'type' => 'yesno', + 'type' => 'yesno', ], - 'comment' => [ + 'comment' => [ 'title' => $lang['strcomment'], 'field' => Decorator::field('opccomment'), ], @@ -106,8 +107,8 @@ class OpclassesController extends BaseController $proto = Decorator::concat(Decorator::field('opcname'), '/', Decorator::field('amname')); $attrs = [ - 'text' => $proto, - 'icon' => 'OperatorClass', + 'text' => $proto, + 'icon' => 'OperatorClass', 'toolTip' => Decorator::field('opccomment'), ]; |