Skip to content

Commit 6b568c1

Browse files
committed
add missed ArrayShape items for \PDOStatement::getColumnMeta
1 parent cd1f13a commit 6b568c1

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

PDO/PDO.php

+10-1
Original file line numberDiff line numberDiff line change
@@ -1851,7 +1851,16 @@ public function columnCount(): int {}
18511851
* or if no result set exists.
18521852
*/
18531853
#[TentativeType]
1854-
#[ArrayShape(["name" => "string", "len" => "int", "precision" => "int", "native_type" => "string", "flags" => "array", "pdo_type" => "int"])]
1854+
#[ArrayShape([
1855+
"name" => "string",
1856+
"len" => "int",
1857+
"precision" => "int",
1858+
"oci:decl_type" => "int|string",
1859+
"native_type" => "string",
1860+
"scale" => "int",
1861+
"flags" => "array",
1862+
"pdo_type" => "int"
1863+
])]
18551864
public function getColumnMeta(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $column): array|false {}
18561865

18571866
/**

0 commit comments

Comments
 (0)