You've already forked phpmyadmin
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:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user