Skip to content

Commit 87ad6c0

Browse files
author
drewblin
committed
Add support of doctrine 3.0:
* add new methods to wrapper
1 parent edaa260 commit 87ad6c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Wrapper/JaegerStatementWrapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function executeQuery(array $params = null): Result
4343
->addTag(new DbStatementTag($this->cutLongSql($this->sql)));
4444

4545
try {
46-
return parent::execute($params);
46+
return parent::executeQuery($params);
4747
} catch (\Exception $e) {
4848
$span
4949
->addTag(new DbalErrorCodeTag($e->getCode()))
@@ -62,7 +62,7 @@ public function executeStatement($params = null): int
6262
->addTag(new DbStatementTag($this->cutLongSql($this->sql)));
6363

6464
try {
65-
return parent::execute($params);
65+
return parent::executeStatement($params);
6666
} catch (\Exception $e) {
6767
$span
6868
->addTag(new DbalErrorCodeTag($e->getCode()))

0 commit comments

Comments
 (0)