Passed
Push — master ( 60f77a...cd8198 )
by Atanas
02:16
created
src/Middleware/HasMiddlewareTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 	 * Add middleware
45 45
 	 *
46 46
 	 * @param  callable|\Obsidian\Middleware\MiddlewareInterface|array $middleware
47
-	 * @return object                                                  $this
47
+	 * @return HasMiddlewareTrait                                                  $this
48 48
 	 */
49 49
 	public function addMiddleware( $middleware ) {
50 50
 		$middleware = is_array( $middleware ) ? $middleware : [$middleware];
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 	 * Alias for addMiddleware
64 64
 	 *
65 65
 	 * @param  callable|\Obsidian\Middleware\middlewareInterface|array $middleware
66
-	 * @return object                                                  $this
66
+	 * @return HasMiddlewareTrait                                                  $this
67 67
 	 */
68 68
 	public function add( $middleware ) {
69 69
 		return $this->addMiddleware( $middleware );
Please login to merge, or discard this patch.