Completed
Branch master (df0330)
by Gabriel
08:50 queued 06:43
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/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.
src/ServiceProvider/Traits/UrlGeneratorTrait.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,10 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Nip\Router\ServiceProvider\Traits;
4 4
 
5
-use Nip\Request;
6
-use Nip\Router\Generator\UrlGenerator;
7
-use Nip\Router\RequestContext;
8
-
9 5
 /**
10 6
  * Trait UrlGeneratorTrait
11 7
  * @package Nip\Router\ServiceProvider\Traits
Please login to merge, or discard this patch.
src/RouteCollections/Traits/RouteLoaderTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 {
13 13
 
14 14
     /**
15
-     * @param $path
15
+     * @param string $path
16 16
      */
17 17
     public function loadFromIncludedPhp($path)
18 18
     {
Please login to merge, or discard this patch.
src/Router/Traits/HasRouteCollectionTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
     }
26 26
 
27 27
     /**
28
-     * @param $name
29
-     * @return null|Route\Route
28
+     * @param string $name
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.