Skip to content

Commit c9fb100

Browse files
authored
Update ViewCollector.php (#1378)
Fixes error: "Creation of dynamic property Barryvdh\Debugbar\DataCollector\ViewCollector::$name is deprecated"
1 parent 3001b7d commit c9fb100

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/DataCollector/ViewCollector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
class ViewCollector extends TwigCollector
1111
{
12+
protected $name;
1213
protected $templates = [];
1314
protected $collect_data;
1415
protected $exclude_paths;

0 commit comments

Comments
 (0)