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:
authorFelipe Figueroa <amenadiel@gmail.com>2020-10-16 13:10:08 +0300
committerFelipe Figueroa <amenadiel@gmail.com>2020-10-16 13:10:08 +0300
commit0392a0c5bf4384fe41cc0a9621265bac1efe18af (patch)
tree227b684628776500fc651e4e4c8ea11d777537a9
parent3e2f1be6b1031ad6b9f4bf4e972db89c76bf6ad7 (diff)
typecast help_pages as an array
-rw-r--r--src/database/ADOdbBase.php2
-rw-r--r--src/database/Postgres.php3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/database/ADOdbBase.php b/src/database/ADOdbBase.php
index abd225b6..a0f1f8d8 100644
--- a/src/database/ADOdbBase.php
+++ b/src/database/ADOdbBase.php
@@ -33,7 +33,7 @@ class ADOdbBase
public $conn;
/**
- * @var \Slim\Container
+ * @var \PHPPgAdmin\ContainerUtils
*/
protected $container;
diff --git a/src/database/Postgres.php b/src/database/Postgres.php
index 3d2d8449..392fcaec 100644
--- a/src/database/Postgres.php
+++ b/src/database/Postgres.php
@@ -101,8 +101,9 @@ class Postgres extends ADOdbBase
* Gets the help pages.
* get help page by instancing the corresponding help class
* if $this->help_page and $this->help_base are set, this function is a noop.
+ * @return array<array-key, string>|null|string
*/
- public function getHelpPages(): array
+ public function getHelpPages()
{
return $this->help_class->getHelpTopics();
}