We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f16bf87 commit d955317Copy full SHA for d955317
1 file changed
system/Debug/Toolbar/Collectors/Logs.php
@@ -47,7 +47,7 @@ class Logs extends BaseCollector
47
*
48
* @var list<array{level: string, msg: string}>
49
*/
50
- protected $data;
+ protected $data = [];
51
52
/**
53
* Returns the data of this collector to be formatted in the toolbar.
@@ -68,7 +68,7 @@ public function isEmpty(): bool
68
{
69
$this->collectLogs();
70
71
- return $this->data !== [];
+ return $this->data === [];
72
}
73
74
0 commit comments