@@ -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() { |
@@ -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() { |
@@ -18,6 +18,7 @@ discard block |
||
| 18 | 18 | /** |
| 19 | 19 | * @codeCoverageIgnore |
| 20 | 20 | * @see Response::output() |
| 21 | + * @param string $output |
|
| 21 | 22 | * @return \Psr\Http\Message\ResponseInterface |
| 22 | 23 | */ |
| 23 | 24 | function wpm_output( $output ) { |
@@ -29,6 +30,7 @@ discard block |
||
| 29 | 30 | /** |
| 30 | 31 | * @codeCoverageIgnore |
| 31 | 32 | * @see Response::view() |
| 33 | + * @param string $views |
|
| 32 | 34 | * @return \Psr\Http\Message\ResponseInterface |
| 33 | 35 | */ |
| 34 | 36 | function wpm_view( $views, $context = array() ) { |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use WPEmerge\Response; |
|
| 4 | 3 | use WPEmerge\Helpers\Mixed; |
| 4 | +use WPEmerge\Response; |
|
| 5 | 5 | |
| 6 | 6 | if ( ! function_exists( 'wpm_response' ) ) { |
| 7 | 7 | /** |