Passed
Push — master ( 2f1c34...4bc1b6 )
by Atanas
02:03
created
src/Routing/RouteGroup.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 	/**
28 28
 	 * Constructor
29 29
 	 *
30
-	 * @param string|ConditionInterface $target
30
+	 * @param string $target
31 31
 	 * @param Closure                   $callable
32 32
 	 */
33 33
 	public function __construct( $target, Closure $callable ) {
Please login to merge, or discard this patch.
src/Middleware/HasMiddlewareTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@
 block discarded – undo
44 44
 	 * Add middleware
45 45
 	 * Accepts: a class name, an instance of a class, a callable, an array of any of the previous
46 46
 	 *
47
-	 * @param  string|callable|\Obsidian\Middleware\MiddlewareInterface|array $middleware
48
-	 * @return object                                                         $this
47
+	 * @param  callable $middleware
48
+	 * @return HasMiddlewareTrait                                                         $this
49 49
 	 */
50 50
 	public function addMiddleware( $middleware ) {
51 51
 		if ( is_callable( $middleware ) && is_array( $middleware ) ) {
Please login to merge, or discard this patch.