Thanks to visit codestin.com
Credit goes to github.com

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

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

Closed
irnc wants to merge 1 commit into
zendframework:masterfrom
irnc:patch-1
Closed

Specify correct return type for Pdo\Connection::getLastGeneratedValue#5508
irnc wants to merge 1 commit into
zendframework:masterfrom
irnc:patch-1

Conversation

@irnc
Copy link
Copy Markdown

@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
Copy Markdown
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