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/help/PostgresDoc.php')
-rw-r--r--src/help/PostgresDoc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/help/PostgresDoc.php b/src/help/PostgresDoc.php
index c25c3938..b82f1102 100644
--- a/src/help/PostgresDoc.php
+++ b/src/help/PostgresDoc.php
@@ -8,6 +8,8 @@ namespace PHPPgAdmin\Help;
/**
* Help links for PostgreSQL 7.4 documentation.
+ *
+ * @SuppressWarnings(PHPMD)
*/
class PostgresDoc
{
@@ -188,7 +190,7 @@ class PostgresDoc
*
* @return null|string|string[]
*/
- public function getHelpTopics(?string $topic = null): array
+ public function getHelpTopics(?string $topic = null)
{
return $topic ? $this->help_topics[$topic] ?? null : $this->help_topics;
}