Skip to content

Commit

Permalink
[phpstorm-stub] WI-73537 Added @throws PDOException for PDO::lastInse…
Browse files Browse the repository at this point in the history
…rtId()
  • Loading branch information
LolGleb committed Aug 23, 2023
1 parent 76e6d9d commit 2f4411f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PDO/PDO.php
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,7 @@ public function query(
* If the PDO driver does not support this capability,
* <b>PDO::lastInsertId</b> triggers an
* IM001 SQLSTATE.
* @throws PDOException On error if PDO::ERRMODE_EXCEPTION option is true.
*/
#[TentativeType]
public function lastInsertId(#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $name = null): string|false {}
Expand Down

0 comments on commit 2f4411f

Please sign in to comment.