diff --git a/tests/default/data/dibi.php b/tests/default/data/dibi.php index 8efb3a66..d2186c50 100644 --- a/tests/default/data/dibi.php +++ b/tests/default/data/dibi.php @@ -19,7 +19,7 @@ public function fetch(\Dibi\Connection $connection) public function fetchAll(\Dibi\Connection $connection) { $row = $connection->fetchAll('SELECT email, adaid FROM ada'); - assertType('array}>', $row); + assertType('list}>', $row); } public function fetchPairs(\Dibi\Connection $connection) diff --git a/tests/default/data/runMysqlQuery.php b/tests/default/data/runMysqlQuery.php index e2e65ec8..1b18e578 100644 --- a/tests/default/data/runMysqlQuery.php +++ b/tests/default/data/runMysqlQuery.php @@ -25,7 +25,7 @@ class Foo public function run(string $prodHostname, DbCredentials $dbCredentials) { $prodDomains = runMysqlQuery('SELECT cmsdomainid FROM cmsdomain WHERE url ="'.$prodHostname.'" and standard=1', $dbCredentials); - assertType('array>|null', $prodDomains); + assertType('list>|null', $prodDomains); // XXX should be more precise, when we would be smarter in query parsing // assertType('array|null', $prodDomains); }