mirror of
https://github.com/php/pecl-database-ibm_db2.git
synced 2026-03-23 23:02:16 +01:00
Merge pull request #53 from phansys/uncataloged
Argument 1 in `db2_connect()` and `db2_pconnect()` can contain the connection password
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
* @param resource $connection
|
||||
* @return resource|false
|
||||
*/
|
||||
function db2_connect(string $database, ?string $username, #[\SensitiveParameter] ?string $password, array $options = []) {}
|
||||
function db2_connect(#[\SensitiveParameter] string $database, ?string $username, #[\SensitiveParameter] ?string $password, array $options = []) {}
|
||||
|
||||
/**
|
||||
* @param resource $connection
|
||||
@@ -22,7 +22,7 @@ function db2_commit($connection): bool {}
|
||||
* @param resource $connection
|
||||
* @return resource|false
|
||||
*/
|
||||
function db2_pconnect(string $database, ?string $username, #[\SensitiveParameter] ?string $password, array $options = []) {}
|
||||
function db2_pconnect(#[\SensitiveParameter] string $database, ?string $username, #[\SensitiveParameter] ?string $password, array $options = []) {}
|
||||
|
||||
/**
|
||||
* @param resource $connection
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* This is a generated file, edit the .stub.php file instead.
|
||||
* Stub hash: 4007e338d00e0ff39a6cbf06a28aafed7969550d */
|
||||
* Stub hash: 0ca3175a9bfc7470cae69cc7b8930d4360a8d44b */
|
||||
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_db2_connect, 0, 0, 3)
|
||||
ZEND_ARG_TYPE_INFO(0, database, IS_STRING, 0)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* This is a generated file, edit the .stub.php file instead.
|
||||
* Stub hash: 4007e338d00e0ff39a6cbf06a28aafed7969550d */
|
||||
* Stub hash: 0ca3175a9bfc7470cae69cc7b8930d4360a8d44b */
|
||||
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_db2_connect, 0, 0, 3)
|
||||
ZEND_ARG_INFO(0, database)
|
||||
|
||||
Reference in New Issue
Block a user