@@ -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() { |
@@ -45,7 +45,7 @@ |
||
45 | 45 | * @param string $name |
46 | 46 | * @param string $filepath |
47 | 47 | * @param array $context |
48 | - * @return string |
|
48 | + * @return PhpView |
|
49 | 49 | */ |
50 | 50 | protected function makeView( $name, $filepath, $context = [] ) { |
51 | 51 | return (new PhpView()) |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace WPEmerge\View; |
4 | 4 | |
5 | 5 | use Exception; |
6 | -use View as ViewService; |
|
7 | 6 | |
8 | 7 | /** |
9 | 8 | * Render view files with php. |
@@ -6,8 +6,6 @@ |
||
6 | 6 | use ViewEngine; |
7 | 7 | use WPEmerge\Helpers\Handler; |
8 | 8 | use WPEmerge\Helpers\Mixed; |
9 | -use WPEmerge\Helpers\Path; |
|
10 | -use WPEmerge\Support\Arr; |
|
11 | 9 | |
12 | 10 | /** |
13 | 11 | * Provide general view-related functionality |