Skip to content

Commit 2f9a5e6

Browse files
committed
Update Admin.php
1 parent cea8ece commit 2f9a5e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ private function currentDashboard(): string {
3939
}
4040

4141
public function render(bool $auth): string {
42-
$nav = array_map(static fn ($d_dashboard): array => $d_dashboard->dashboardInfo(), $this->dashboards);
42+
$nav = array_map(static fn (DashboardInterface $d_dashboard): array => $d_dashboard->dashboardInfo(), $this->dashboards);
4343

4444
$current = $this->currentDashboard();
4545
$dashboard = $this->getDashboard($current);

0 commit comments

Comments
 (0)