Skip to content

Commit cd18514

Browse files
committed
Fix AdminDashboard attribute routes type
1 parent 074cec1 commit cd18514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Attribute/AdminDashboard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class AdminDashboard
1010
{
1111
public function __construct(
12-
/** @var array<string, array{routeName: string, routePath: string}>|null */
12+
/** @var array<string, array{routeName?: string, routePath?: string}>|null */
1313
public ?array $routes = null,
1414
/** @var class-string[]|null $allowedControllers If defined, only these CRUD controllers will have a route defined for them */
1515
public ?array $allowedControllers = null,

0 commit comments

Comments
 (0)