From 2e8923079b5622f6be1f99b67e26b6839a1396d1 Mon Sep 17 00:00:00 2001 From: Erik Bernhardson Date: Thu, 15 Dec 2016 11:22:03 -0800 Subject: [PATCH] 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 --- includes/libs/rdbms/database/DatabaseSqlite.php | 2 +- tests/phan/config.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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 -- 2.20.1