File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed
Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change 88
99final class Group implements GroupInterface
1010{
11- /**
12- * @var array<MiddlewareInterface>
13- */
14- private array $ middlewares ;
15-
16- /**
17- * @var array<GroupInterface|RouteInterface>
18- */
19- private array $ children ;
20-
2111 /**
2212 * @param array<GroupInterface|RouteInterface> $children
2313 * @param array<MiddlewareInterface> $middlewares
2414 * @param array<string, mixed> $pathOptions
2515 */
2616 private function __construct (
2717 private string $ path ,
28- array $ children = [],
29- array $ middlewares = [],
18+ private array $ children = [],
19+ private array $ middlewares = [],
3020 private array $ pathOptions = []
31- ) {
32- $ this ->children = $ children ;
33- $ this ->middlewares = $ middlewares ;
34- }
21+ ) {}
3522
3623 /**
3724 * @param array<GroupInterface|RouteInterface> $children
You can’t perform that action at this time.
0 commit comments