@@ -119,7 +119,7 @@ public function real_query(string $query);
119
119
public function release_savepoint (string $ name );
120
120
121
121
/** @return bool */
122
- public function rollback (? int $ flags = 0 , ? string $ name = '' );
122
+ public function rollback (int $ flags = 0 , string $ name = '' );
123
123
124
124
/** @return bool */
125
125
public function savepoint (string $ name );
@@ -175,7 +175,7 @@ public function refresh(int $options);
175
175
class mysqli_warning
176
176
{
177
177
/**
178
- * mysqli_link|mysqli_stmt $mysqli_link
178
+ * object $mysqli_link
179
179
*
180
180
* @return object|false
181
181
*/
@@ -258,7 +258,7 @@ public function bind_result(&...$vars);
258
258
/** @return bool */
259
259
public function close ();
260
260
261
- /** @return void |false */
261
+ /** @return null |false */
262
262
public function data_seek (int $ offset );
263
263
264
264
/** @return bool */
@@ -449,7 +449,7 @@ function mysqli_reap_async_query(mysqli $mysqli_link): mysqli_result|bool {}
449
449
450
450
function mysqli_release_savepoint (mysqli $ mysqli_link , string $ name ): bool {}
451
451
452
- function mysqli_rollback (mysqli $ mysqli_link , ? int $ flags = 0 , ? string $ name = '' ): bool {}
452
+ function mysqli_rollback (mysqli $ mysqli_link , int $ flags = 0 , string $ name = '' ): bool {}
453
453
454
454
function mysqli_savepoint (mysqli $ mysqli_link , string $ name ): bool {}
455
455
@@ -471,7 +471,7 @@ function mysqli_stmt_bind_result(mysqli_stmt $mysql_stmt, &...$vars): bool {}
471
471
472
472
function mysqli_stmt_close (mysqli_stmt $ mysql_stmt ): bool {}
473
473
474
- /** @return void |false */
474
+ /** @return null |false */
475
475
function mysqli_stmt_data_seek (mysqli_stmt $ mysql_stmt , int $ offset ) {}
476
476
477
477
function mysqli_stmt_errno (mysqli_stmt $ mysql_stmt ): int {}
@@ -513,10 +513,10 @@ function mysqli_stmt_send_long_data(mysqli_stmt $mysql_stmt, int $param_nr, stri
513
513
514
514
function mysqli_stmt_store_result (mysqli_stmt $ mysql_stmt ): bool {}
515
515
516
- /** @return string|void */
516
+ /** @return string|null */
517
517
function mysqli_stmt_sqlstate (mysqli_stmt $ mysql_stmt ) {}
518
518
519
- /** @return string|void */
519
+ /** @return string|null */
520
520
function mysqli_sqlstate (mysqli $ mysqli_link ) {}
521
521
522
522
function mysqli_ssl_set (
0 commit comments