@@ -149,6 +149,7 @@ public function autocommit(bool $enable): bool {}
149
149
public function begin_transaction (int $ flags = 0 , ?string $ name = null ): bool {}
150
150
151
151
/**
152
+ * @sensitive-param $password
152
153
* @tentative-return-type
153
154
* @alias mysqli_change_user
154
155
*/
@@ -174,6 +175,7 @@ public function close() {} // TODO make return type void
174
175
public function commit (int $ flags = 0 , ?string $ name = null ): bool {}
175
176
176
177
/**
178
+ * @sensitive-param $password
177
179
* @tentative-return-type
178
180
* @alias mysqli_connect
179
181
* @no-verify
@@ -287,6 +289,7 @@ public function prepare(string $query): mysqli_stmt|false {}
287
289
public function query (string $ query , int $ result_mode = MYSQLI_STORE_RESULT ): mysqli_result |bool {}
288
290
289
291
/**
292
+ * @sensitive-param $password
290
293
* @tentative-return-type
291
294
* @alias mysqli_real_connect
292
295
*/
@@ -740,6 +743,7 @@ function mysqli_autocommit(mysqli $mysql, bool $enable): bool {}
740
743
741
744
function mysqli_begin_transaction (mysqli $ mysql , int $ flags = 0 , ?string $ name = null ): bool {}
742
745
746
+ /** @sensitive-param $password */
743
747
function mysqli_change_user (mysqli $ mysql , string $ username , string $ password , ?string $ database ): bool {}
744
748
745
749
/** @refcount 1 */
@@ -750,7 +754,10 @@ function mysqli_close(mysqli $mysql): bool {} // TODO make return type void
750
754
751
755
function mysqli_commit (mysqli $ mysql , int $ flags = 0 , ?string $ name = null ): bool {}
752
756
753
- /** @refcount 1 */
757
+ /**
758
+ * @refcount 1
759
+ * @sensitive-param $password
760
+ */
754
761
function mysqli_connect (
755
762
?string $ hostname = null ,
756
763
?string $ username = null ,
@@ -925,6 +932,7 @@ function mysqli_report(int $flags): bool {}
925
932
/** @refcount 1 */
926
933
function mysqli_query (mysqli $ mysql , string $ query , int $ result_mode = MYSQLI_STORE_RESULT ): mysqli_result |bool {}
927
934
935
+ /** @sensitive-param $password */
928
936
function mysqli_real_connect (
929
937
mysqli $ mysql ,
930
938
?string $ hostname = null ,
0 commit comments