diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index bc2c4acc87..8e92615f1f 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -17133,12 +17133,6 @@ parameters: count: 1 path: src/Table/Search.php - - - message: '#^Binary operation "\." between string and mixed results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Table/Table.php - - message: '#^Binary operation "\.\=" between string and mixed results in an error\.$#' identifier: assignOp.invalid @@ -17334,7 +17328,13 @@ parameters: - message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#' identifier: argument.type - count: 3 + count: 2 + path: src/Table/Table.php + + - + message: '#^Parameter \#1 \$indexed of method PhpMyAdmin\\Table\\Table\:\:formatColumns\(\) expects array\, array\ given\.$#' + identifier: argument.type + count: 2 path: src/Table/Table.php - diff --git a/psalm-baseline.xml b/psalm-baseline.xml index dc7b1863d6..a2c246613d 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -9925,7 +9925,6 @@ - @@ -9937,6 +9936,10 @@ uiprefs[$property->value]]]> + + + + dbName][$this->name]]]> @@ -9965,7 +9968,6 @@ - @@ -9979,7 +9981,6 @@ - diff --git a/src/Table/Table.php b/src/Table/Table.php index 28b49ba638..cc8748f19c 100644 --- a/src/Table/Table.php +++ b/src/Table/Table.php @@ -939,9 +939,9 @@ class Table implements Stringable * * e.g. index(col1, col2) would return col1, col2 * - * @param mixed[] $indexed column data - * @param bool $backquoted whether to quote name with backticks `` - * @param bool $fullName whether to include full name of the table as a prefix + * @param string[] $indexed column data + * @param bool $backquoted whether to quote name with backticks `` + * @param bool $fullName whether to include full name of the table as a prefix * * @return string[] */