Skip to content

Commit 3a6023e

Browse files
committed
Argument 1 for db2_bind_param() is a statement resource
1 parent f9b90ca commit 3a6023e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

ibm_db2.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ function db2_pconnect(string $database, ?string $username, #[\SensitiveParameter
3030
function db2_autocommit($connection, int $value = UNKNOWN): int|bool {}
3131

3232
/**
33-
* @param resource $connection
33+
* @param resource $stmt
3434
*/
35-
function db2_bind_param($connection, int $parameter_number, string $variable_name, int $parameter_type = DB2_PARAM_IN, int $data_type = 0, int $precision = -1, int $scale = 0): bool {}
35+
function db2_bind_param($stmt, int $parameter_number, string $variable_name, int $parameter_type = DB2_PARAM_IN, int $data_type = 0, int $precision = -1, int $scale = 0): bool {}
3636

3737
/**
3838
* @param resource $connection

ibm_db2_arginfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: f4efdc4aa065c8af4c96b20b6f555f3abfdeb08e */
2+
* Stub hash: 827c25789a2304ec0b4b9d2faec51850bc442f0c */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_db2_connect, 0, 0, 3)
55
ZEND_ARG_TYPE_INFO(0, database, IS_STRING, 0)
@@ -20,7 +20,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_db2_autocommit, 0, 1, MAY_BE_LON
2020
ZEND_END_ARG_INFO()
2121

2222
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_db2_bind_param, 0, 3, _IS_BOOL, 0)
23-
ZEND_ARG_INFO(0, connection)
23+
ZEND_ARG_INFO(0, stmt)
2424
ZEND_ARG_TYPE_INFO(0, parameter_number, IS_LONG, 0)
2525
ZEND_ARG_TYPE_INFO(0, variable_name, IS_STRING, 0)
2626
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, parameter_type, IS_LONG, 0, "DB2_PARAM_IN")

ibm_db2_legacy_arginfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: f4efdc4aa065c8af4c96b20b6f555f3abfdeb08e */
2+
* Stub hash: 827c25789a2304ec0b4b9d2faec51850bc442f0c */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_db2_connect, 0, 0, 3)
55
ZEND_ARG_INFO(0, database)
@@ -20,7 +20,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_db2_autocommit, 0, 0, 1)
2020
ZEND_END_ARG_INFO()
2121

2222
ZEND_BEGIN_ARG_INFO_EX(arginfo_db2_bind_param, 0, 0, 3)
23-
ZEND_ARG_INFO(0, connection)
23+
ZEND_ARG_INFO(0, stmt)
2424
ZEND_ARG_INFO(0, parameter_number)
2525
ZEND_ARG_INFO(0, variable_name)
2626
ZEND_ARG_INFO(0, parameter_type)

0 commit comments

Comments
 (0)