Adding optional parameter to mysqli::store_result
This commit is contained in:
parent
630cb82cd1
commit
0b02d29c5d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue