Skip to content

Commit a76f50b

Browse files
committed
Signed-off-by: Joey Smith <jsmith@webinertia.net>
1 parent 0e70953 commit a76f50b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/Driver/Pdo/ConnectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function testGetLastGeneratedValue(): void
6262
/** @var ConnectionInterface&PdoConnectionInterface&AbstractConnection&AbstractPdoConnection&Connection $connection */
6363
$connection = $this->getAdapter()->getDriver()->getConnection();
6464
$connection->connect();
65-
$lastId = $connection->getLastGeneratedValue();
65+
$lastId = (int) $connection->getLastGeneratedValue();
6666
self::assertIsInt($lastId);
6767
$connection->disconnect();
6868
}

0 commit comments

Comments
 (0)