Passed
Push — master ( 27c065...381e9f )
by Atanas
01:52
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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 );
Please login to merge, or discard this patch.
src/Routing/Conditions/Factory.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace Obsidian\Routing\Conditions;
4 4
 
5
+use Closure;
6
+use Exception;
5 7
 use Obsidian\Framework;
6 8
 use Obsidian\Routing\Conditions\Custom as CustomCondition;
7 9
 use Obsidian\Routing\Conditions\Multiple as MultipleCondition;
8 10
 use Obsidian\Routing\Conditions\Url as UrlCondition;
9
-use Closure;
10
-use Exception;
11 11
 use ReflectionClass;
12 12
 
13 13
 /**
Please login to merge, or discard this patch.