From 37865e4c2b1177db57cd6606afccdb4acda08d5f Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Fri, 6 Dec 2024 10:16:44 +0100 Subject: [PATCH] Fix build (#726) --- tests/sqlAst/data/sql-ast-narrowing.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/sqlAst/data/sql-ast-narrowing.php b/tests/sqlAst/data/sql-ast-narrowing.php index bdefcf62..35bf764b 100644 --- a/tests/sqlAst/data/sql-ast-narrowing.php +++ b/tests/sqlAst/data/sql-ast-narrowing.php @@ -178,12 +178,12 @@ public function ifnull(PDO $pdo): void $stmt = $pdo->query('SELECT ifnull(c_int, "default") as col from typemix'); foreach ($stmt as $row) { - assertType('array{col: lowercase-string&numeric-string, 0: lowercase-string&numeric-string}', $row); + assertType('array{col: lowercase-string&numeric-string&uppercase-string, 0: lowercase-string&numeric-string&uppercase-string}', $row); } $stmt = $pdo->query('SELECT ifnull(c_nullable_tinyint, "default") as col from typemix'); foreach ($stmt as $row) { - assertType("array{col: 'default'|(lowercase-string&numeric-string), 0: 'default'|(lowercase-string&numeric-string)}", $row); + assertType("array{col: 'default'|(lowercase-string&numeric-string&uppercase-string), 0: 'default'|(lowercase-string&numeric-string&uppercase-string)}", $row); } $stmt = $pdo->query('SELECT ifnull(c_nullable_tinyint, 5000) as col from typemix'); @@ -203,7 +203,7 @@ public function ifnull(PDO $pdo): void $stmt = $pdo->query('SELECT ifnull(c_int, 123.23) as col from typemix'); foreach ($stmt as $row) { - assertType("array{col: lowercase-string&numeric-string, 0: lowercase-string&numeric-string}", $row); + assertType("array{col: lowercase-string&numeric-string&uppercase-string, 0: lowercase-string&numeric-string&uppercase-string}", $row); } $stmt = $pdo->query('SELECT ifnull(123.23, c_int) as col from typemix');