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/decorators/UrlDecorator.php')
-rw-r--r--src/decorators/UrlDecorator.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/decorators/UrlDecorator.php b/src/decorators/UrlDecorator.php
index e34504b5..7f781c8e 100644
--- a/src/decorators/UrlDecorator.php
+++ b/src/decorators/UrlDecorator.php
@@ -1,7 +1,7 @@
<?php
/**
- * PHPPgAdmin 6.1.3
+ * PHPPgAdmin6
*/
namespace PHPPgAdmin\Decorators;
@@ -9,10 +9,12 @@ namespace PHPPgAdmin\Decorators;
class UrlDecorator extends Decorator
{
public $base;
+
/**
* @var mixed
*/
public $queryVars;
+
public function __construct($base, $queryVars = null)
{
$this->base = $base;
@@ -23,6 +25,8 @@ class UrlDecorator extends Decorator
}
/**
+ * @param mixed $fields
+ *
* @return string
*/
public function value($fields)
@@ -44,7 +48,6 @@ class UrlDecorator extends Decorator
$sep = '&';
}
}
-
return \str_replace('//', '/', \containerInstance()->subFolder . '/' . $url);
}