From a91e587ed5c72798f69e6175bcbe80218aa4b117 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Sun, 17 Nov 2024 09:13:01 +0100 Subject: [PATCH] Update PdoPgSqlQueryReflector.php --- src/QueryReflection/PdoPgSqlQueryReflector.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/QueryReflection/PdoPgSqlQueryReflector.php b/src/QueryReflection/PdoPgSqlQueryReflector.php index 649fc8c5..d884d448 100644 --- a/src/QueryReflection/PdoPgSqlQueryReflector.php +++ b/src/QueryReflection/PdoPgSqlQueryReflector.php @@ -121,6 +121,7 @@ protected function checkInformationSchema(string $tableName): Iterator foreach ($result as $row) { $default = $row['COLUMN_DEFAULT'] ?? ''; + /** @var string|null $columnName */ $columnName = $row['COLUMN_NAME']; $isNullable = 'YES' === $row['IS_NULLABLE'];