diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index fecc8c7573..515d096a67 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -327,12 +327,6 @@ parameters: count: 2 path: src/BrowseForeigners.php - - - message: '#^Parameter \#1 \$description of method PhpMyAdmin\\BrowseForeigners\:\:getDescriptionAndTitle\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 2 - path: src/BrowseForeigners.php - - message: '#^Parameter \#1 \$state of static method PhpMyAdmin\\Charsets\\Charset\:\:fromServer\(\) expects array\{Charset\?\: string, Description\?\: string, Default collation\?\: string, Maxlen\?\: string\}, array\ given\.$#' identifier: argument.type diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 10f42a5f59..42b62478e3 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -71,10 +71,6 @@ - - - - foreignField]]]> diff --git a/src/BrowseForeigners.php b/src/BrowseForeigners.php index 0b49aa8c1d..8efc9a9896 100644 --- a/src/BrowseForeigners.php +++ b/src/BrowseForeigners.php @@ -35,13 +35,13 @@ class BrowseForeigners /** * Function to get html for one relational key * - * @param int $horizontalCount the current horizontal count - * @param string $header table header - * @param mixed[] $keys all the keys - * @param int $indexByKeyname index by keyname - * @param mixed[] $descriptions descriptions - * @param int $indexByDescription index by description - * @param string $currentValue current value on the edit form + * @param int $horizontalCount the current horizontal count + * @param string $header table header + * @param mixed[] $keys all the keys + * @param int $indexByKeyname index by keyname + * @param string[] $descriptions descriptions + * @param int $indexByDescription index by description + * @param string $currentValue current value on the edit form * * @return array{string, int, int} the generated html */