1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +02:00

PHPStan: Fix level 2 errors

This commit is contained in:
Jakub Vrana
2025-03-26 15:38:04 +01:00
parent d39cc24c61
commit 7e5757f8b4
16 changed files with 36 additions and 29 deletions

View File

@@ -274,7 +274,7 @@ function get_rows($query, $connection2 = null, $error = "<p class='error'>") {
/** Find unique identifier of a row
* @param string[]
* @param Index[] result of indexes()
* @return ?string[] null if there is no unique identifier
* @return string[]|void null if there is no unique identifier
*/
function unique_array($row, $indexes) {
foreach ($indexes as $index) {