Skip to content

Commit f3620e0

Browse files
committed
mysqli::commit + mysqli_commit
1 parent 5c3eeaf commit f3620e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/mysqli/mysqli.stub.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public function character_set_name();
3131
/** @return bool */
3232
public function close();
3333

34-
/** @return bool|null */
35-
public function commit(int $flags = 0, string $name = UNKNOWN);
34+
/** @return bool */
35+
public function commit(int $flags = -1, string $name = UNKNOWN);
3636

3737
/** @return mysqli|null|false */
3838
public function connect(
@@ -307,7 +307,7 @@ function mysqli_character_set_name(mysqli $mysql_link): string {}
307307

308308
function mysqli_close(mysqli $mysql_link): bool {}
309309

310-
function mysqli_commit(mysqli $mysql_link, int $flags = 0, string $name = 'UNKNOWN'): bool|null {}
310+
function mysqli_commit(mysqli $mysql_link, int $flags = -1, string $name = UNKNOWN): bool {}
311311

312312
function mysqli_connect(
313313
?string $host = null,

0 commit comments

Comments
 (0)