We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e70953 commit a76f50bCopy full SHA for a76f50b
test/integration/Driver/Pdo/ConnectionTest.php
@@ -62,7 +62,7 @@ public function testGetLastGeneratedValue(): void
62
/** @var ConnectionInterface&PdoConnectionInterface&AbstractConnection&AbstractPdoConnection&Connection $connection */
63
$connection = $this->getAdapter()->getDriver()->getConnection();
64
$connection->connect();
65
- $lastId = $connection->getLastGeneratedValue();
+ $lastId = (int) $connection->getLastGeneratedValue();
66
self::assertIsInt($lastId);
67
$connection->disconnect();
68
}
0 commit comments