Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/controllers/TablesController.php')
-rw-r--r--src/controllers/TablesController.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/controllers/TablesController.php b/src/controllers/TablesController.php
index c3f31584..b21009e9 100644
--- a/src/controllers/TablesController.php
+++ b/src/controllers/TablesController.php
@@ -6,6 +6,7 @@
namespace PHPPgAdmin\Controller;
+use Slim\Http\Response;
use PHPPgAdmin\Decorators\Decorator;
use PHPPgAdmin\Traits\AdminTrait;
use PHPPgAdmin\Traits\InsertEditRowTrait;
@@ -158,7 +159,7 @@ class TablesController extends BaseController
$columns = $this->_getColumns();
- if(boolval($this->conf['display_sizes']['tables']??false)===false) {
+ if(!boolval($this->conf['display_sizes']['tables']??false)) {
unset($columns['table_size']);
}
@@ -230,7 +231,7 @@ class TablesController extends BaseController
/**
* Generate XML for the browser tree.
*
- * @return \Slim\Http\Response|string
+ * @return Response|string
*/
public function doTree()
{
@@ -253,7 +254,7 @@ class TablesController extends BaseController
}
/**
- * @return \Slim\Http\Response|string
+ * @return Response|string
*/
public function doSubTree()
{