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>2018-05-22 18:51:06 +0300
committerFelipe Figueroa <amenadiel@gmail.com>2018-05-22 18:51:06 +0300
commit4b8bf36517749138d7ce4f27a34573e86d39dd62 (patch)
tree5b3b3d3748768820648eaac6e52abc2b3696d66d /src/xhtml/HTMLNavbarController.php
parent90e9a5e33878c84063881e6ca80a51b6c9d1800a (diff)
scrutinizer fixes
Diffstat (limited to 'src/xhtml/HTMLNavbarController.php')
-rw-r--r--src/xhtml/HTMLNavbarController.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xhtml/HTMLNavbarController.php b/src/xhtml/HTMLNavbarController.php
index 30a5b9f1..95676e3f 100644
--- a/src/xhtml/HTMLNavbarController.php
+++ b/src/xhtml/HTMLNavbarController.php
@@ -273,7 +273,7 @@ class HTMLNavbarController extends HTMLController
$topbar_html .= '<td style="text-align: right">';
- $topbar_html .= $this->printLinksList($toplinks, 'toplink', [], false, $from);
+ $topbar_html .= $this->printLinksList($toplinks, 'toplink', false, $from);
$topbar_html .= '</td>';
} else {
@@ -301,6 +301,8 @@ class HTMLNavbarController extends HTMLController
* Create a bread crumb trail of the object hierarchy.
*
* @param null|string $subject sunkect of the trail
+ *
+ * @return array the trail array
*/
private function _getTrail($subject = null)
{
@@ -497,6 +499,6 @@ class HTMLNavbarController extends HTMLController
];
}
}
- return trail;
+ return $trail;
}
}