Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/DB/DbDataCollector.php')
-rw-r--r--lib/private/DB/DbDataCollector.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/private/DB/DbDataCollector.php b/lib/private/DB/DbDataCollector.php
index d708955b10e..60e3dbe797d 100644
--- a/lib/private/DB/DbDataCollector.php
+++ b/lib/private/DB/DbDataCollector.php
@@ -25,14 +25,13 @@ declare(strict_types = 1);
namespace OC\DB;
-use Doctrine\DBAL\Logging\DebugStack;
use Doctrine\DBAL\Types\ConversionException;
use Doctrine\DBAL\Types\Type;
use OC\AppFramework\Http\Request;
use OCP\AppFramework\Http\Response;
class DbDataCollector extends \OCP\DataCollector\AbstractDataCollector {
- protected ?DebugStack $debugStack = null;
+ protected ?BacktraceDebugStack $debugStack = null;
private Connection $connection;
/**
@@ -42,7 +41,7 @@ class DbDataCollector extends \OCP\DataCollector\AbstractDataCollector {
$this->connection = $connection;
}
- public function setDebugStack(DebugStack $debugStack, $name = 'default'): void {
+ public function setDebugStack(BacktraceDebugStack $debugStack, $name = 'default'): void {
$this->debugStack = $debugStack;
}