Skip to content

Commit 046e810

Browse files
DominicDettaNevay
andauthored
Update src/Instrumentation/Doctrine/src/DoctrineInstrumentation.php
Co-authored-by: Tobias Bachert <[email protected]>
1 parent 011365e commit 046e810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Instrumentation/Doctrine/src/DoctrineInstrumentation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static function register(): void
4040
$span = $builder->startSpan();
4141
Context::storage()->attach($span->storeInContext($parent));
4242
},
43-
post: static function (\Doctrine\DBAL\Driver $driver, array $params, \Doctrine\DBAL\Driver\Connection $connection, ?Throwable $exception) {
43+
post: static function (\Doctrine\DBAL\Driver $driver, array $params, ?\Doctrine\DBAL\Driver\Connection $connection, ?Throwable $exception) {
4444
$scope = Context::storage()->scope();
4545
if (!$scope) {
4646
return;

0 commit comments

Comments
 (0)