We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cea8ece commit 2f9a5e6Copy full SHA for 2f9a5e6
1 file changed
src/Admin.php
@@ -39,7 +39,7 @@ private function currentDashboard(): string {
39
}
40
41
public function render(bool $auth): string {
42
- $nav = array_map(static fn ($d_dashboard): array => $d_dashboard->dashboardInfo(), $this->dashboards);
+ $nav = array_map(static fn (DashboardInterface $d_dashboard): array => $d_dashboard->dashboardInfo(), $this->dashboards);
43
44
$current = $this->currentDashboard();
45
$dashboard = $this->getDashboard($current);
0 commit comments