Completed
Push — master ( 07d295...0e17e5 )
by Pierre
01:50
created
src/Kernel.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,6 @@
 block discarded – undo
46 46
     /**
47 47
      * run app
48 48
      *
49
-     * @param array $routerGroups
50 49
      * @return Kernel
51 50
      */
52 51
     public function run(array $groups = []): Kernel
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Nymfonya\Component\Http;
4 4
 
5
-use Nymfonya\Component\Http\Response;
6 5
 use Nymfonya\Component\Http\Headers;
6
+use Nymfonya\Component\Http\Response;
7 7
 
8 8
 class Kernel
9 9
 {
Please login to merge, or discard this patch.
src/Request.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     /**
77 77
      * returns http param for a given key
78 78
      *
79
-     * @return array
79
+     * @return string
80 80
      */
81 81
     public function getParam(string $key): string
82 82
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Nymfonya\Component\Http;
4 4
 
5
-use Nymfonya\Component\Http\Interfaces\RequestInterface;
6 5
 use Nymfonya\Component\Http\Interfaces\HeadersInterface;
6
+use Nymfonya\Component\Http\Interfaces\RequestInterface;
7 7
 use Nymfonya\Component\Http\Session;
8 8
 
9 9
 class Request extends Session implements RequestInterface
Please login to merge, or discard this patch.
src/Reuse/TKernel.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,14 +2,14 @@
 block discarded – undo
2 2
 
3 3
 namespace Nymfonya\Component\Http\Reuse;
4 4
 
5
-use Nymfonya\Component\Http\Kernel;
5
+use Monolog\Logger;
6 6
 use Nymfonya\Component\Config;
7 7
 use Nymfonya\Component\Container;
8
+use Nymfonya\Component\Http\Kernel;
9
+use Nymfonya\Component\Http\Middleware;
8 10
 use Nymfonya\Component\Http\Request;
9 11
 use Nymfonya\Component\Http\Response;
10 12
 use Nymfonya\Component\Http\Router;
11
-use Nymfonya\Component\Http\Middleware;
12
-use Monolog\Logger;
13 13
 use \ReflectionClass;
14 14
 
15 15
 trait TKernel
Please login to merge, or discard this patch.
src/Router.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Nymfonya\Component\Http;
4 4
 
5
-use Nymfonya\Component\Http\Interfaces\RoutesInterface;
6
-use Nymfonya\Component\Http\Interfaces\RouteInterface;
7 5
 use Nymfonya\Component\Http\Interfaces\RequestInterface;
6
+use Nymfonya\Component\Http\Interfaces\RouteInterface;
8 7
 use Nymfonya\Component\Http\Interfaces\RouterInterface;
8
+use Nymfonya\Component\Http\Interfaces\RoutesInterface;
9 9
 
10 10
 class Router implements RouterInterface
11 11
 {
Please login to merge, or discard this patch.
src/Interfaces/RequestInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * returns http param for a given key
54 54
      *
55
-     * @return array
55
+     * @return string
56 56
      */
57 57
     public function getParam(string $key): string;
58 58
 
Please login to merge, or discard this patch.
src/Interfaces/RouterInterface.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
      *
48 48
      * @param RouteInterface $route
49 49
      * @param array $matches
50
-     * @return RouRouterInterfaceter
50
+     * @return RouterInterface
51 51
      */
52 52
     public function setParams(RouteInterface $route, array $matches): RouterInterface;
53 53
 
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace Nymfonya\Component\Http\Interfaces;
4 4
 
5 5
 use Nymfonya\Component\Http\Interfaces\RequestInterface;
6
-use Nymfonya\Component\Http\Interfaces\RoutesInterface;
7 6
 use Nymfonya\Component\Http\Interfaces\RouteInterface;
7
+use Nymfonya\Component\Http\Interfaces\RoutesInterface;
8 8
 
9 9
 interface RouterInterface
10 10
 {
Please login to merge, or discard this patch.
src/Interfaces/RoutesInterface.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Nymfonya\Component\Http\Interfaces;
4 4
 
5
-use Nymfonya\Component\Http\Routes;
6
-
7 5
 interface RoutesInterface
8 6
 {
9 7
     /**
Please login to merge, or discard this patch.
src/Response.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Nymfonya\Component\Http;
4 4
 
5
-use Nymfonya\Component\Http\Interfaces\ResponseInterface;
6
-use Nymfonya\Component\Http\Interfaces\HeadersInterface;
7 5
 use Nymfonya\Component\Http\Headers;
6
+use Nymfonya\Component\Http\Interfaces\HeadersInterface;
7
+use Nymfonya\Component\Http\Interfaces\ResponseInterface;
8 8
 
9 9
 class Response implements ResponseInterface
10 10
 {
Please login to merge, or discard this patch.