Skip to content

Commit 44445f8

Browse files
authored
Update twig class reference (#1587)
1 parent 531ce87 commit 44445f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataCollector/QueryCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ protected function parseTrace($index, array $trace)
334334
) {
335335
$frame->file = $trace['file'];
336336

337-
if (isset($trace['object']) && is_a($trace['object'], 'Twig_Template')) {
337+
if (isset($trace['object']) && is_a($trace['object'], '\Twig\Template')) {
338338
list($frame->file, $frame->line) = $this->getTwigInfo($trace);
339339
} elseif (strpos($frame->file, storage_path()) !== false) {
340340
$hash = pathinfo($frame->file, PATHINFO_FILENAME);

0 commit comments

Comments
 (0)