File tree Expand file tree Collapse file tree
system/Debug/Toolbar/Collectors Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ class Views extends BaseCollector
7373 */
7474 protected $ views = [];
7575
76- private function getViewer (): void
76+ private function initViewer (): void
7777 {
7878 $ this ->viewer ??= Services::renderer ();
7979 }
@@ -84,7 +84,7 @@ private function getViewer(): void
8484 */
8585 protected function formatTimelineData (): array
8686 {
87- $ this ->getViewer ();
87+ $ this ->initViewer ();
8888
8989 $ data = [];
9090
@@ -120,7 +120,7 @@ protected function formatTimelineData(): array
120120 */
121121 public function getVarData (): array
122122 {
123- $ this ->getViewer ();
123+ $ this ->initViewer ();
124124
125125 return [
126126 'View Data ' => $ this ->viewer ->getData (),
@@ -132,7 +132,7 @@ public function getVarData(): array
132132 */
133133 public function getBadgeValue (): int
134134 {
135- $ this ->getViewer ();
135+ $ this ->initViewer ();
136136
137137 return count ($ this ->viewer ->getPerformanceData ());
138138 }
You can’t perform that action at this time.
0 commit comments