Skip to content

Commit 49ea4b6

Browse files
committed
fix: Menu
1 parent 324e577 commit 49ea4b6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/MenuDivider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function isActive(): bool
2525
return false;
2626
}
2727

28-
public function viewData(): array
28+
protected function viewData(): array
2929
{
3030
return [
3131
'label' => $this->getLabel(),

src/MenuGroup.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function isActive(): bool
5151
return false;
5252
}
5353

54-
public function viewData(): array
54+
protected function viewData(): array
5555
{
5656
return [
5757
'items' => $this->getItems(),

src/MenuItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ protected function prepareBeforeRender(): void
191191
/**
192192
* @throws Throwable
193193
*/
194-
public function viewData(): array
194+
protected function viewData(): array
195195
{
196196
$viewData = [
197197
'url' => $this->getUrl(),

0 commit comments

Comments
 (0)