diff options
Diffstat (limited to 'lib/Minz/PdoMysql.php')
| -rw-r--r-- | lib/Minz/PdoMysql.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Minz/PdoMysql.php b/lib/Minz/PdoMysql.php index c46d88f1a..e5d62bcc5 100644 --- a/lib/Minz/PdoMysql.php +++ b/lib/Minz/PdoMysql.php @@ -15,6 +15,8 @@ class Minz_PdoMysql extends Minz_Pdo { return 'mysql'; } + // PHP8+: PDO::lastInsertId(?string $name = null): string|false + #[\ReturnTypeWillChange] public function lastInsertId($name = null) { return parent::lastInsertId(); //We discard the name, only used by PostgreSQL } |
