Commit 32817aac authored by Marco Pivetta's avatar Marco Pivetta

Merge pull request #565 from Tobion/patch-2

fix lastInsertId typehint in SqlSrv
parents 0833d00b 705dd7b0
......@@ -108,9 +108,9 @@ class SQLSrvStatement implements IteratorAggregate, Statement
/**
* @param resource $conn
* @param string $sql
* @param integer|null $lastInsertId
* @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