diff --git a/flight/net/Route.php b/flight/net/Route.php index 5f45392..78b69a1 100644 --- a/flight/net/Route.php +++ b/flight/net/Route.php @@ -58,7 +58,7 @@ final class Route public string $alias = ''; /** - * @var array The middleware to be applied to the route + * @var array The middleware to be applied to the route */ public array $middleware = []; diff --git a/flight/net/Router.php b/flight/net/Router.php index b8dda2e..84a1ff1 100644 --- a/flight/net/Router.php +++ b/flight/net/Router.php @@ -45,7 +45,7 @@ class Router /** * Group Middleware * - * @var array + * @var array */ protected array $group_middlewares = []; @@ -169,7 +169,7 @@ class Router * * @param string $group_prefix group URL prefix (such as /api/v1) * @param callable $callback The necessary calling that holds the Router class - * @param array $middlewares The middlewares to be applied to the group Ex: [ $middleware1, $middleware2 ] + * @param array $group_middlewares The middlewares to be applied to the group Ex: [ $middleware1, $middleware2 ] * @return void */ public function group(string $group_prefix, callable $callback, array $group_middlewares = []): void {