Passed
Push — master ( 4bc1b6...29ee19 )
by Atanas
01:56
created
src/Middleware/HasMiddlewareTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
 	 * Add middleware
46 46
 	 * Accepts: a class name, an instance of a class, a callable, an array of any of the previous
47 47
 	 *
48
-	 * @param  string|callable|\Obsidian\Middleware\MiddlewareInterface|array $middleware
49
-	 * @return object                                                         $this
48
+	 * @param  callable $middleware
49
+	 * @return HasMiddlewareTrait                                                         $this
50 50
 	 */
51 51
 	public function addMiddleware( $middleware ) {
52 52
 		$middleware = Mixed::toArray( $middleware, true );
Please login to merge, or discard this patch.