@@ -28,7 +28,7 @@ |
||
28 | 28 | * Constructor |
29 | 29 | * |
30 | 30 | * @throws Exception |
31 | - * @param string|ConditionInterface $target |
|
31 | + * @param string $target |
|
32 | 32 | * @param Closure $closure |
33 | 33 | */ |
34 | 34 | public function __construct( $target, Closure $closure ) { |
@@ -26,7 +26,6 @@ |
||
26 | 26 | * Constructor |
27 | 27 | * |
28 | 28 | * @param callable $callable |
29 | - * @param mixed $arguments,... |
|
30 | 29 | */ |
31 | 30 | public function __construct( $callable ) { |
32 | 31 | $this->callable = $callable; |
@@ -36,7 +36,6 @@ |
||
36 | 36 | /** |
37 | 37 | * Execute the handler |
38 | 38 | * |
39 | - * @param mixed $arguments,... |
|
40 | 39 | * @return mixed |
41 | 40 | */ |
42 | 41 | public function execute() { |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace WPEmerge\Routing; |
4 | 4 | |
5 | -use WPEmerge\Responses\Response; |
|
6 | 5 | use WPEmerge\Helpers\Handler as GenericHandler; |
7 | 6 | use WPEmerge\Responses\ConvertibleToResponseInterface; |
7 | +use WPEmerge\Responses\Response; |
|
8 | 8 | |
9 | 9 | /** |
10 | 10 | * Represent a Closure or a controller method to be executed in response to a request |
@@ -82,7 +82,6 @@ |
||
82 | 82 | /** |
83 | 83 | * Execute the parsed handler with any provided arguments and return the result |
84 | 84 | * |
85 | - * @param mixed $arguments,... |
|
86 | 85 | * @return mixed |
87 | 86 | */ |
88 | 87 | public function execute() { |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | use WPEmerge\Facades\Framework; |
4 | -use WPEmerge\Responses\Response; |
|
5 | 4 | use WPEmerge\Helpers\Mixed; |
5 | +use WPEmerge\Responses\Response; |
|
6 | 6 | |
7 | 7 | if ( ! function_exists( 'app_response' ) ) { |
8 | 8 | /** |
@@ -19,6 +19,7 @@ |
||
19 | 19 | |
20 | 20 | /** |
21 | 21 | * {@inheritDoc} |
22 | + * @param string $name |
|
22 | 23 | */ |
23 | 24 | public function setName( $name ) { |
24 | 25 | $this->name = $name; |