Fix type assumptions about Connection::lastInsertId()
#5909
+4
−8
Connection::lastInsertId()
#5909