Skip to content

Commit 481c8c2

Browse files
committed
Add missing parameter to the stub of mysqli_real_connect
1 parent 3eba187 commit 481c8c2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ext/mysqli/mysqli.stub.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ function mysqli_real_connect(
414414
?string $password = null,
415415
?string $database = null,
416416
?int $port = null,
417+
?string $socket = null,
417418
int $flags = 0
418419
): bool {}
419420

ext/mysqli/mysqli_arginfo.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_real_connect, 0, 1, _IS_B
238238
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, password, IS_STRING, 1, "null")
239239
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, database, IS_STRING, 1, "null")
240240
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 1, "null")
241+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, socket, IS_STRING, 1, "null")
241242
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
242243
ZEND_END_ARG_INFO()
243244

0 commit comments

Comments
 (0)