@@ -32,7 +32,7 @@ |
||
32 | 32 | * Constructor |
33 | 33 | * |
34 | 34 | * @throws Exception |
35 | - * @param mixed $condition |
|
35 | + * @param string $condition |
|
36 | 36 | * @param Closure $closure |
37 | 37 | */ |
38 | 38 | public function __construct( $condition, Closure $closure ) { |
@@ -8,8 +8,8 @@ |
||
8 | 8 | use WPEmerge\Middleware\HasMiddlewareTrait; |
9 | 9 | use WPEmerge\Requests\Request; |
10 | 10 | use WPEmerge\Routing\Conditions\ConditionInterface; |
11 | -use WPEmerge\Routing\Conditions\UrlCondition; |
|
12 | 11 | use WPEmerge\Routing\Conditions\MultipleCondition; |
12 | +use WPEmerge\Routing\Conditions\UrlCondition; |
|
13 | 13 | |
14 | 14 | class RouteGroup implements RouteInterface, HasRoutesInterface { |
15 | 15 | use HasRoutesTrait { |