From: Erik Bernhardson Date: Thu, 15 Dec 2016 19:22:03 +0000 (-0800) Subject: Correct DatabaseSqlite::unionQueries annotation X-Git-Tag: 1.31.0-rc.0~4574^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=2e8923079b5622f6be1f99b67e26b6839a1396d1;p=lhc%2Fweb%2Fwiklou.git Correct DatabaseSqlite::unionQueries annotation The annotation was claiming string, but it's very obvious from the usage the it should be string[]. Change-Id: I99849a338971590ca68dfb175b2458ad5ebc0df2 --- diff --git a/includes/libs/rdbms/database/DatabaseSqlite.php b/includes/libs/rdbms/database/DatabaseSqlite.php index a06aad2cfd..a4b2df01ad 100644 --- a/includes/libs/rdbms/database/DatabaseSqlite.php +++ b/includes/libs/rdbms/database/DatabaseSqlite.php @@ -665,7 +665,7 @@ class DatabaseSqlite extends Database { } /** - * @param string $sqls + * @param string[] $sqls * @param bool $all Whether to "UNION ALL" or not * @return string */ diff --git a/tests/phan/config.php b/tests/phan/config.php index 7fc069ddaf..fba01af1ae 100644 --- a/tests/phan/config.php +++ b/tests/phan/config.php @@ -305,8 +305,6 @@ return [ "PhanParamSignatureMismatch", // approximate error count: 7 "PhanParamSignatureMismatchInternal", - // approximate error count: 1 - "PhanParamSpecial1", // approximate error count: 2 "PhanParamTooFew", // approximate error count: 308