Skip to content

Commit

Permalink
add missed ArrayShape items for \PDOStatement::getColumnMeta
Browse files Browse the repository at this point in the history
  • Loading branch information
isfedorov committed Oct 17, 2022
1 parent cd1f13a commit 6b568c1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion PDO/PDO.php
Original file line number Diff line number Diff line change
Expand Up @@ -1851,7 +1851,16 @@ public function columnCount(): int {}
* or if no result set exists.
*/
#[TentativeType]
#[ArrayShape(["name" => "string", "len" => "int", "precision" => "int", "native_type" => "string", "flags" => "array", "pdo_type" => "int"])]
#[ArrayShape([
"name" => "string",
"len" => "int",
"precision" => "int",
"oci:decl_type" => "int|string",
"native_type" => "string",
"scale" => "int",
"flags" => "array",
"pdo_type" => "int"
])]
public function getColumnMeta(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $column): array|false {}

/**
Expand Down

0 comments on commit 6b568c1

Please sign in to comment.