Test Setup Failed
Push — master ( bd9606...fdbfdf )
by Gabriel
03:35
created
src/Parsers/AbstractParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -225,7 +225,7 @@
 block discarded – undo
225 225
     }
226 226
 
227 227
     /**
228
-     * @param $key
228
+     * @param string $key
229 229
      * @return bool
230 230
      */
231 231
     public function hasParam($key)
Please login to merge, or discard this patch.
src/Parsers/Dynamic.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     }
73 73
 
74 74
     /**
75
-     * @param $uri
75
+     * @param string $uri
76 76
      * @return bool
77 77
      */
78 78
     public function match($uri)
Please login to merge, or discard this patch.
src/Route/AbstractRoute.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
 
203 203
     /**
204 204
      * @param $subdomain
205
-     * @param $url
205
+     * @param string $url
206 206
      * @return mixed
207 207
      */
208 208
     public function replaceSubdomain($subdomain, $url)
Please login to merge, or discard this patch.
src/RouteCollections/Traits/CollectionsOperationsTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     }
34 34
 
35 35
     /**
36
-     * @param $route
36
+     * @param string $route
37 37
      * @return bool
38 38
      */
39 39
     public function has($route)
Please login to merge, or discard this patch.
src/Router/Traits/HasRouteCollectionTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * @param $name
29
-     * @return null|Route\Route
29
+     * @return \Symfony\Component\Routing\Route|null
30 30
      */
31 31
     public function getRoute($name)
32 32
     {
Please login to merge, or discard this patch.
src/Generator/UrlGenerator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 
43 43
 
44 44
     /**
45
-     * @param $name
45
+     * @param string $name
46 46
      * @param array $params
47 47
      * @return null|Route
48 48
      */
Please login to merge, or discard this patch.
src/Router/Traits/HasGeneratorTrait.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 {
14 14
 
15 15
     /**
16
-     * @param $name
16
+     * @param string $name
17 17
      * @param array $params
18 18
      * @return string|null
19 19
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Nip\Router\Router\Traits;
4 4
 
5
-use Nip\Router\Route\Route;
6 5
 use Nip\Router\Router;
7 6
 
8 7
 /**
Please login to merge, or discard this patch.
legacy/Router/Traits/HasMatcherTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Nip\Router\Legacy\Router\Traits;
4 4
 
5 5
 use Nip\Request;
6
-use Nip\Router\Route\Route;
7 6
 use Psr\Http\Message\ServerRequestInterface;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
src/Router/Traits/HasMatcherTrait.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 trait HasMatcherTrait
14 14
 {
15 15
     /**
16
-     * @param Request|ServerRequestInterface $request
16
+     * @param Request $request
17 17
      * @return array
18 18
      */
19 19
     public function matchRequest(Request $request)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Nip\Router\Router\Traits;
4 4
 
5 5
 use \Symfony\Component\HttpFoundation\Request;
6
-use Nip\Router\Route\Route;
7 6
 use Psr\Http\Message\ServerRequestInterface;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.