Skip to content

Commit

Permalink
allow with parameter to take any type of data
Browse files Browse the repository at this point in the history
  • Loading branch information
IngeniozIT committed Apr 20, 2024
1 parent 312a2d6 commit 339bb43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Route/RouteElement.php
Expand Up @@ -37,7 +37,7 @@

/**
* @param array<string, string> $where
* @param array<string, string> $with
* @param array<string, mixed> $with
*/
public function __construct(
public int $method,
Expand Down
2 changes: 1 addition & 1 deletion src/RouteGroup.php
Expand Up @@ -18,7 +18,7 @@ final class RouteGroup
* @param mixed[] $middlewares
* @param mixed[] $conditions
* @param array<string, string> $where
* @param array<string, string> $with
* @param array<string, mixed> $with
*/
public function __construct(
array $routes,
Expand Down

0 comments on commit 339bb43

Please sign in to comment.