@@ -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 ); |