Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Correct docblocks in mysqli and pdo. #1510

Merged
merged 1 commit into from Oct 4, 2012
Jump to file or symbol
Failed to load files and symbols.
+3 −3
Split
@@ -793,7 +793,7 @@ public function hasUTFSupport()
/**
* Method to get the auto-incremented value from the last INSERT statement.
*
- * @return integer The value of the auto-increment field from the last inserted row.
+ * @return mixed The value of the auto-increment field from the last inserted row.
*
* @since 11.1
*/
@@ -428,7 +428,7 @@ public function getVersion()
/**
* Method to get the auto-incremented value from the last INSERT statement.
*
- * @return integer The value of the auto-increment field from the last inserted row.
+ * @return mixed The value of the auto-increment field from the last inserted row. If the value is greater than maximal int value, it will return a string.
*
* @since 12.1
*/
@@ -621,7 +621,7 @@ public function getNumRows($cursor = null)
/**
* Method to get the auto-incremented value from the last INSERT statement.
*
- * @return integer The value of the auto-increment field from the last inserted row.
+ * @return string The value of the auto-increment field from the last inserted row.
*
* @since 12.1
*/