1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00

Narrow Current::$whereClause to array|null

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
Kamil Tekiela
2026-08-22 00:48:52 +01:00
parent 62573b4904
commit dafd0e587d
2 changed files with 4 additions and 4 deletions

View File

@@ -2581,7 +2581,7 @@ parameters:
path: src/Controllers/Table/ChangeController.php
-
message: '#^Static property PhpMyAdmin\\Current\:\:\$whereClause \(array\<string\>\|string\|null\) does not accept list\<mixed\>\.$#'
message: '#^Static property PhpMyAdmin\\Current\:\:\$whereClause \(array\<string\>\|null\) does not accept list\<mixed\>\.$#'
identifier: assign.propertyType
count: 1
path: src/Controllers/Table/ChangeRowsController.php
@@ -2731,7 +2731,7 @@ parameters:
path: src/Controllers/Table/ExportController.php
-
message: '#^Static property PhpMyAdmin\\Current\:\:\$whereClause \(array\<string\>\|string\|null\) does not accept list\<mixed\>\.$#'
message: '#^Static property PhpMyAdmin\\Current\:\:\$whereClause \(array\<string\>\|null\) does not accept list\<mixed\>\.$#'
identifier: assign.propertyType
count: 1
path: src/Controllers/Table/ExportRowsController.php

View File

@@ -13,8 +13,8 @@ final class Current
public static string $sqlQuery = '';
public static Message|null $message = null;
public static string $lang = 'en';
/** @var array<string>|string|null */
public static array|string|null $whereClause = null;
/** @var array<string>|null */
public static array|null $whereClause = null;
public static string|null $displayQuery = null;
public static string|null $charset = null;
public static string|null $completeQuery = null;