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/xhtml/HTMLNavbarController.php')
-rw-r--r--src/xhtml/HTMLNavbarController.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/xhtml/HTMLNavbarController.php b/src/xhtml/HTMLNavbarController.php
index 68f91585..a96dad03 100644
--- a/src/xhtml/HTMLNavbarController.php
+++ b/src/xhtml/HTMLNavbarController.php
@@ -145,6 +145,11 @@ class HTMLNavbarController extends HTMLController
}
}
+ /**
+ * @return (mixed|string)[][]
+ *
+ * @psalm-return array<array-key, array{url: string, iconalt?: mixed|string, title?: mixed, icon?: string, text?: mixed, helpurl?: string}>
+ */
private function _getCrumbs($trail)
{
$crumbs = [];
@@ -178,6 +183,8 @@ class HTMLNavbarController extends HTMLController
/**
* @param mixed $crumbs
* @param array $viewVars
+ *
+ * @return array
*/
private function _getSearchPathsCrumbs($crumbs, array $viewVars)
{
@@ -210,6 +217,8 @@ class HTMLNavbarController extends HTMLController
*
* @param bool $do_print true to print, false to return html
* @param null|mixed $from which method is calling this one
+ *
+ * @return string
*/
private function printTopbar($do_print = true, $from = null): ?string
{
@@ -344,6 +353,9 @@ class HTMLNavbarController extends HTMLController
return $topbar_html;
}
+ /**
+ * @return string
+ */
private function getHREFSubject(string $subject)
{
$vars = $this->misc->getSubjectParams($subject);
@@ -469,6 +481,10 @@ class HTMLNavbarController extends HTMLController
/**
* @param (mixed|string)[][] $trail
* @param (mixed|string)[][] $the_array
+ *
+ * @return (mixed|string)[][]
+ *
+ * @psalm-return array<array-key, array<array-key, mixed|string>>
*/
private function _getTrailsFromArray(array $trail, array $the_array)
{