Skip to content

Commit 0c4660d

Browse files
VincentLangletondrejmirtes
authored andcommitted
Update errorCode return type
1 parent bc6352b commit 0c4660d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/functionMap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8678,7 +8678,7 @@
86788678
'PDO::beginTransaction' => ['bool'],
86798679
'PDO::commit' => ['bool'],
86808680
'PDO::cubrid_schema' => ['array', 'schema_type'=>'int', 'table_name='=>'string', 'col_name='=>'string'],
8681-
'PDO::errorCode' => ['string'],
8681+
'PDO::errorCode' => ['string|null'],
86828682
'PDO::errorInfo' => ['array'],
86838683
'PDO::exec' => ['int|false', 'query'=>'string'],
86848684
'PDO::getAttribute' => ['', 'attribute'=>'int'],
@@ -8721,7 +8721,7 @@
87218721
'PDOStatement::closeCursor' => ['bool'],
87228722
'PDOStatement::columnCount' => ['0|positive-int'],
87238723
'PDOStatement::debugDumpParams' => ['void'],
8724-
'PDOStatement::errorCode' => ['string'],
8724+
'PDOStatement::errorCode' => ['string|null'],
87258725
'PDOStatement::errorInfo' => ['array'],
87268726
'PDOStatement::execute' => ['bool', 'bound_input_params='=>'?array'],
87278727
'PDOStatement::fetch' => ['mixed', 'how='=>'int', 'orientation='=>'int', 'offset='=>'int'],

0 commit comments

Comments
 (0)