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.
1 parent 245d163 commit 8d6bf87Copy full SHA for 8d6bf87
1 file changed
src/Debug/DatabaseCollector.php
@@ -49,20 +49,9 @@ public function setServerInfo(string $serverInfo) : void
49
$this->serverInfo = $serverInfo;
50
}
51
52
- /**
53
- * @return string
54
- *
55
- * @deprecated Use {@see Database::getConnection()}
56
57
- * @codeCoverageIgnore
58
- */
59
public function getServerInfo() : string
60
{
61
- \trigger_error(
62
- 'Method ' . __METHOD__ . ' is deprecated',
63
- \E_USER_DEPRECATED
64
- );
65
- return $this->serverInfo;
+ return $this->database->getConnection()->server_info;
66
67
68
public function getActivities() : array
0 commit comments