@@ -27,7 +27,7 @@ |
||
| 27 | 27 | /** |
| 28 | 28 | * Constructor |
| 29 | 29 | * |
| 30 | - * @param string|ConditionInterface $target |
|
| 30 | + * @param string $target |
|
| 31 | 31 | * @param Closure $callable |
| 32 | 32 | */ |
| 33 | 33 | public function __construct( $target, Closure $callable ) { |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | * Accepts: a class name, an instance of a class, a Closure or an array of any of the previous |
| 47 | 47 | * |
| 48 | 48 | * @param string|\Closure|\Obsidian\Middleware\MiddlewareInterface|array $middleware |
| 49 | - * @return object $this |
|
| 49 | + * @return HasMiddlewareTrait $this |
|
| 50 | 50 | */ |
| 51 | 51 | public function addMiddleware( $middleware ) { |
| 52 | 52 | $middleware = Mixed::toArray( $middleware ); |