Remove $cookiePath

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
Kamil Tekiela 2023-06-07 22:51:04 +01:00
parent 70ff7dcd6b
commit ed46bcb755
2 changed files with 0 additions and 10 deletions

View File

@ -792,17 +792,9 @@ class Config
/**
* Get phpMyAdmin root path
*
* @staticvar string|null $cookie_path
*/
public function getRootPath(): string
{
static $cookiePath = null;
if ($cookiePath !== null && ! defined('TESTSUITE')) {
return $cookiePath;
}
$url = $this->get('PmaAbsoluteUri');
if (! empty($url)) {

View File

@ -282,11 +282,9 @@
<code>$value</code>
</MixedAssignment>
<MixedInferredReturnType>
<code>string</code>
<code>string|null</code>
</MixedInferredReturnType>
<MixedReturnStatement>
<code>$cookiePath</code>
<code>$tempDir[$name]</code>
</MixedReturnStatement>
<PossiblyInvalidArgument>