Adding optional parameter to mysqli::store_result

This commit is contained in:
Kamil Tekiela 2020-03-01 21:23:40 +00:00 committed by GitHub
parent 630cb82cd1
commit 0b02d29c5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -724,7 +724,7 @@ class mysqli {
* <b>mysqli_field_count</b> returns a non-zero value, the
* statement should have produced a non-empty result set.
*/
public function store_result ($option) {}
public function store_result (int $option = null) {}
/**
* Returns whether thread safety is given or not
@ -2443,7 +2443,7 @@ function mysqli_stmt_store_result ($stmt) {}
* @param int $option [optional] The option that you want to set
* @return mysqli_result|false
*/
function mysqli_store_result ($link, int $option) {}
function mysqli_store_result ($link, int $option = null) {}
/**
* Returns the thread ID for the current connection