Commit 705dd7b0 authored by Tobias Schultze's avatar Tobias Schultze

fix lastInsertId typehint in SqlSrv

parent 0833d00b
......@@ -106,11 +106,11 @@ class SQLSrvStatement implements IteratorAggregate, Statement
const LAST_INSERT_ID_SQL = ';SELECT SCOPE_IDENTITY() AS LastInsertId;';
/**
* @param resource $conn
* @param string $sql
* @param integer|null $lastInsertId
* @param resource $conn
* @param string $sql
* @param \Doctrine\DBAL\Driver\SQLSrv\LastInsertId|null $lastInsertId
*/
public function __construct($conn, $sql, $lastInsertId = null)
public function __construct($conn, $sql, LastInsertId $lastInsertId = null)
{
$this->conn = $conn;
$this->sql = $sql;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment