Correct DatabaseSqlite::unionQueries annotation
authorErik Bernhardson <ebernhardson@wikimedia.org>
Thu, 15 Dec 2016 19:22:03 +0000 (11:22 -0800)
committerErik Bernhardson <ebernhardson@wikimedia.org>
Thu, 15 Dec 2016 19:22:03 +0000 (11:22 -0800)
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
tests/phan/config.php

index a06aad2..a4b2df0 100644 (file)
@@ -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
         */
index 7fc069d..fba01af 100644 (file)
@@ -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