Passed
Push — master ( 29ee19...e5d2cb )
by Atanas
02:10
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 Closure or an array of any of the previous
47 47
 	 *
48
-	 * @param  string|\Closure|\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.