@@ -774,11 +774,10 @@ public function change_user(string $username, #[\SensitiveParameter] string $pas
774
774
public function character_set_name (): string {}
775
775
776
776
/**
777
- * @return true
778
777
* @alias mysqli_close
779
778
* @no-verify
780
779
*/
781
- public function close () {} // TODO make return type void
780
+ public function close (): true {} // TODO make return type void
782
781
783
782
/**
784
783
* @tentative-return-type
@@ -807,11 +806,10 @@ public function connect(
807
806
public function dump_debug_info (): bool {}
808
807
809
808
/**
810
- * @return true
811
809
* @alias mysqli_debug
812
810
* @no-verify Should really be a static method
813
811
*/
814
- public function debug (string $ options ) {} // TODO make return type void
812
+ public function debug (string $ options ): true {} // TODO make return type void
815
813
816
814
/**
817
815
* @tentative-return-type
@@ -987,7 +985,6 @@ public function options(int $option, $value): bool {}
987
985
public function set_opt (int $ option , $ value ): bool {}
988
986
989
987
/**
990
- * @return true
991
988
* @alias mysqli_ssl_set
992
989
* @no-verify
993
990
*/
@@ -997,7 +994,7 @@ public function ssl_set(
997
994
?string $ ca_certificate ,
998
995
?string $ ca_path ,
999
996
?string $ cipher_algos
1000
- ) {} // TODO make return type void
997
+ ): true {} // TODO make return type void
1001
998
1002
999
/**
1003
1000
* @tentative-return-type
@@ -1144,7 +1141,7 @@ public function fetch_column(int $column = 0): null|int|float|string|false {}
1144
1141
* @tentative-return-type
1145
1142
* @alias mysqli_field_seek
1146
1143
*/
1147
- public function field_seek (int $ index ): bool {}
1144
+ public function field_seek (int $ index ): true {}
1148
1145
1149
1146
/**
1150
1147
* @tentative-return-type
@@ -1240,11 +1237,10 @@ public function bind_param(string $types, mixed &...$vars): bool {}
1240
1237
public function bind_result (mixed &...$ vars ): bool {}
1241
1238
1242
1239
/**
1243
- * @return true
1244
1240
* @alias mysqli_stmt_close
1245
1241
* @no-verify
1246
1242
*/
1247
- public function close () {} // TODO make return type void
1243
+ public function close (): true {} // TODO make return type void
1248
1244
1249
1245
/**
1250
1246
* @tentative-return-type
0 commit comments