Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TracingDriver::getDatabase()
1 parent 5129f96 commit dc611e5Copy full SHA for dc611e5
CHANGELOG.md
@@ -2,6 +2,8 @@
2
3
## Unreleased
4
5
+- Fix return type for `TracingDriver::getDatabase()` method (#541)
6
+
7
## 4.2.0 (2021-08-12)
8
9
- Log the bus name, receiver name and message class name as event tags when using Symfony Messenger (#492)
src/Tracing/Doctrine/DBAL/TracingDriver.php
@@ -101,7 +101,7 @@ public function getName(): string
101
/**
102
* {@inheritdoc}
103
*/
104
- public function getDatabase(Connection $conn): string
+ public function getDatabase(Connection $conn): ?string
105
{
106
if (method_exists($this->decoratedDriver, 'getDatabase')) {
107
return $this->decoratedDriver->getDatabase($conn);
0 commit comments