@@ -43,8 +43,8 @@ |
||
| 43 | 43 | /** |
| 44 | 44 | * Add middleware |
| 45 | 45 | * |
| 46 | - * @param callable|\Obsidian\Middleware\MiddlewareInterface|array $middleware |
|
| 47 | - * @return object $this |
|
| 46 | + * @param callable $middleware |
|
| 47 | + * @return HasMiddlewareTrait $this |
|
| 48 | 48 | */ |
| 49 | 49 | public function addMiddleware( $middleware ) { |
| 50 | 50 | $middleware = is_array( $middleware ) ? $middleware : [$middleware]; |