summaryrefslogtreecommitdiff
path: root/ext/pdo/pdo_stmt.stub.php
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2021-03-25 19:30:46 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2021-03-25 19:31:04 +0100
commitd7ae64627f1aade996c27914bc86dc2f504f4e82 (patch)
tree1bf17c1e1e12c9a91a3bb2723e0932605e4f8968 /ext/pdo/pdo_stmt.stub.php
parent6800f0a3c2328d399afca02616bad6b1b73c5bdc (diff)
downloadphp-git-PHP-8.0.tar.gz
Fix PDOStatement::bindColumn() parameter default valuePHP-8.0
Diffstat (limited to 'ext/pdo/pdo_stmt.stub.php')
-rw-r--r--ext/pdo/pdo_stmt.stub.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_stmt.stub.php b/ext/pdo/pdo_stmt.stub.php
index ab3ab6a42f..26f4ace9f7 100644
--- a/ext/pdo/pdo_stmt.stub.php
+++ b/ext/pdo/pdo_stmt.stub.php
@@ -5,7 +5,7 @@
class PDOStatement implements IteratorAggregate
{
/** @return bool */
- public function bindColumn(string|int $column, mixed &$var, int $type = 0, int $maxLength = 0, mixed $driverOptions = null) {}
+ public function bindColumn(string|int $column, mixed &$var, int $type = PDO::PARAM_STR, int $maxLength = 0, mixed $driverOptions = null) {}
/** @return bool */
public function bindParam(string|int $param, mixed &$var, int $type = PDO::PARAM_STR, int $maxLength = 0, mixed $driverOptions = null) {}