Skip to content

Commit 32eecb0

Browse files
Merge branch '6.3' into 6.4
* 6.3: Run tests with ORM 3 and DBAL 4
2 parents f804b48 + 7ea9248 commit 32eecb0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Middleware/Debug/Statement.php

+3-4
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,14 @@ public function __construct(
3939
$this->query = new Query($sql);
4040
}
4141

42-
public function bindValue($param, $value, $type = null): void
42+
public function bindValue(int|string $param, mixed $value, ParameterType $type): void
4343
{
44-
$type ??= ParameterType::STRING;
4544
$this->query->setValue($param, $value, $type);
4645

4746
parent::bindValue($param, $value, $type);
4847
}
4948

50-
public function execute($params = null): ResultInterface
49+
public function execute(): ResultInterface
5150
{
5251
// clone to prevent variables by reference to change
5352
$this->debugDataHolder->addQuery($this->connectionName, $query = clone $this->query);
@@ -56,7 +55,7 @@ public function execute($params = null): ResultInterface
5655
$query->start();
5756

5857
try {
59-
return parent::execute($params);
58+
return parent::execute();
6059
} finally {
6160
$query->stop();
6261
$this->stopwatch?->stop('doctrine');

0 commit comments

Comments
 (0)