Completed
Push — master ( 942f88...d0257e )
by Pierre
02:09
created
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/Interfaces/RouteInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -8,6 +8,7 @@
 block discarded – undo
8 8
      * instanciate
9 9
      *
10 10
      * @param string $routeItem
11
+     * @return void
11 12
      */
12 13
     public function __construct(string $routeItem);
13 14
 
Please login to merge, or discard this patch.
src/Interfaces/RouterInterface.php 2 patches
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.
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,6 +16,7 @@  discard block
 block discarded – undo
16 16
      *
17 17
      * @param RoutesInterface $routes
18 18
      * @param RequestInterface $request
19
+     * @return void
19 20
      */
20 21
     public function __construct(RoutesInterface $routes, RequestInterface $request);
21 22
 
@@ -46,7 +47,7 @@  discard block
 block discarded – undo
46 47
      *
47 48
      * @param RouteInterface $route
48 49
      * @param array $matches
49
-     * @return RouRouterInterfaceter
50
+     * @return RouterInterface
50 51
      */
51 52
     public function setParams(RouteInterface $route, array $matches): RouterInterface;
52 53
 
Please login to merge, or discard this patch.
src/Interfaces/RoutesInterface.php 2 patches
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.
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -10,6 +10,7 @@
 block discarded – undo
10 10
      * instanciate
11 11
      *
12 12
      * @param array $routes
13
+     * @return void
13 14
      */
14 15
     public function __construct(array $routes);
15 16
 
Please login to merge, or discard this patch.
src/Kernel.php 1 patch
Unused Use Statements   +1 added lines, -1 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\Headers;
5 6
 use Nymfonya\Component\Http\Interfaces\KernelInterface;
6 7
 use Nymfonya\Component\Http\Response;
7
-use Nymfonya\Component\Http\Headers;
8 8
 
9 9
 class Kernel implements KernelInterface
10 10
 {
Please login to merge, or discard this patch.
src/Interfaces/CookieInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -8,6 +8,7 @@
 block discarded – undo
8 8
     /**
9 9
      * instanciate
10 10
      *
11
+     * @return null|\Nymfonya\Component\Http\Session
11 12
      */
12 13
     public function __construct();
13 14
 
Please login to merge, or discard this patch.
src/Interfaces/HeadersInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -17,6 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * instanciate
19 19
      *
20
+     * @return void
20 21
      */
21 22
     public function __construct();
22 23
 
Please login to merge, or discard this patch.
src/Interfaces/KernelInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -9,6 +9,7 @@
 block discarded – undo
9 9
      *
10 10
      * @param string $env
11 11
      * @param string $path
12
+     * @return void
12 13
      */
13 14
     public function __construct(string $env, string $path);
14 15
 
Please login to merge, or discard this patch.