diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 05e4fe8f5d..bc5e865d8d 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -9252,12 +9252,6 @@ parameters: count: 6 path: src/InsertEdit.php - - - message: '#^Parameter \#1 \$params of static method PhpMyAdmin\\Url\:\:getCommon\(\) expects array\, array\ given\.$#' - identifier: argument.type - count: 2 - path: src/InsertEdit.php - - message: '#^Parameter \#1 \$params of static method PhpMyAdmin\\Url\:\:getCommon\(\) expects array\, array\ given\.$#' identifier: argument.type diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 56a8ea67b6..9042095f63 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -5522,8 +5522,6 @@ - - diff --git a/src/InsertEdit.php b/src/InsertEdit.php index 493293ff6f..433a98c17e 100644 --- a/src/InsertEdit.php +++ b/src/InsertEdit.php @@ -238,9 +238,9 @@ class InsertEdit /** * Show type information or function selectors in Insert/Edit * - * @param string $which function|type - * @param mixed[] $urlParams containing url parameters - * @param bool $isShow whether to show the element in $which + * @param string $which function|type + * @param array $urlParams containing url parameters + * @param bool $isShow whether to show the element in $which * * @return string an HTML snippet */ @@ -685,7 +685,7 @@ class InsertEdit /** * Get table head and table foot for insert row table * - * @param mixed[] $urlParams url parameters + * @param array $urlParams url parameters * * @return string an html snippet */ @@ -1840,19 +1840,19 @@ class InsertEdit /** * Function to get html for each insert/edit row * - * @param mixed[] $urlParams url parameters - * @param list $tableColumns table columns - * @param string[] $commentsMap comments map - * @param ResultInterface $currentResult current result - * @param bool $insertMode whether insert mode - * @param array $currentRow current row - * @param bool $isUpload whether upload - * @param mixed[] $foreigners foreigners - * @param string $table table - * @param string $db database - * @param int $rowId row id - * @param mixed[] $repopulate the data to be repopulated - * @param string[] $whereClauseArray the array of where clauses + * @param array $urlParams url parameters + * @param list $tableColumns table columns + * @param string[] $commentsMap comments map + * @param ResultInterface $currentResult current result + * @param bool $insertMode whether insert mode + * @param array $currentRow current row + * @param bool $isUpload whether upload + * @param mixed[] $foreigners foreigners + * @param string $table table + * @param string $db database + * @param int $rowId row id + * @param mixed[] $repopulate the data to be repopulated + * @param string[] $whereClauseArray the array of where clauses */ public function getHtmlForInsertEditRow( array $urlParams,