Skip to content

Commit 8468c10

Browse files
committed
Merge #18489 - Remove $cookiePath
Pull-request: #18489 Signed-off-by: William Desportes <williamdes@wdes.fr>
2 parents 73356a2 + ed46bcb commit 8468c10

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

libraries/classes/Config.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -792,17 +792,9 @@ public function isHttps(): bool
792792

793793
/**
794794
* Get phpMyAdmin root path
795-
*
796-
* @staticvar string|null $cookie_path
797795
*/
798796
public function getRootPath(): string
799797
{
800-
static $cookiePath = null;
801-
802-
if ($cookiePath !== null && ! defined('TESTSUITE')) {
803-
return $cookiePath;
804-
}
805-
806798
$url = $this->get('PmaAbsoluteUri');
807799

808800
if (! empty($url)) {

psalm-baseline.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,9 @@
282282
<code>$value</code>
283283
</MixedAssignment>
284284
<MixedInferredReturnType>
285-
<code>string</code>
286285
<code>string|null</code>
287286
</MixedInferredReturnType>
288287
<MixedReturnStatement>
289-
<code>$cookiePath</code>
290288
<code>$tempDir[$name]</code>
291289
</MixedReturnStatement>
292290
<PossiblyInvalidArgument>

0 commit comments

Comments
 (0)