Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Specify correct return type for Pdo\Connection::getLastGeneratedValue #5508

Closed
wants to merge 1 commit into from

Conversation

irnc
Copy link
Contributor

@irnc irnc commented Nov 20, 2013

See http://php.net/manual/en/pdo.lastinsertid.php for reference that it returns sting instead of int.

TODO: change type of $lastInsertValue property and getLastInsertValue method in Zend/Db/TableGateway/AbstractTableGateway.php accordingly.

See http://php.net/manual/en/pdo.lastinsertid.php for reference that it returns `sting` instead of `int`.

TODO: change type of `$lastInsertValue` property and `getLastInsertValue` method in `Zend/Db/TableGateway/AbstractTableGateway.php` accordingly.
@ralphschindler
Copy link
Member

Is this PR a WIP, or ready to go?

@ralphschindler ralphschindler self-assigned this Feb 27, 2014
@ralphschindler ralphschindler added this to the 2.2.6 milestone Feb 27, 2014
ralphschindler added a commit that referenced this pull request Feb 28, 2014
Merge branch 'hotfix/5508' into develop

* hotfix/5508:
  Specify correct return type for `Pdo\Connection::getLastGeneratedValue`
@irnc irnc deleted the patch-1 branch May 24, 2016 23:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants