@@ -26,10 +26,10 @@ |
||
26 | 26 | use Doctrine\DBAL\Logging\DebugStack; |
27 | 27 | |
28 | 28 | class BacktraceDebugStack extends DebugStack { |
29 | - public function startQuery($sql, ?array $params = null, ?array $types = null) { |
|
30 | - parent::startQuery($sql, $params, $types); |
|
31 | - $backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS); |
|
32 | - $this->queries[$this->currentQuery]['backtrace'] = $backtrace; |
|
33 | - $this->queries[$this->currentQuery]['start'] = $this->start; |
|
34 | - } |
|
29 | + public function startQuery($sql, ?array $params = null, ?array $types = null) { |
|
30 | + parent::startQuery($sql, $params, $types); |
|
31 | + $backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS); |
|
32 | + $this->queries[$this->currentQuery]['backtrace'] = $backtrace; |
|
33 | + $this->queries[$this->currentQuery]['start'] = $this->start; |
|
34 | + } |
|
35 | 35 | } |