Passed
Push — master ( 78ad18...af60cd )
by Pierre
02:09
created
src/Headers.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,6 @@
 block discarded – undo
38 38
      * add headers from a header list as key value
39 39
      * and returns Headers instance
40 40
      *
41
-     * @param string $key
42 41
      * @return Headers
43 42
      */
44 43
     public function addMany(array $headers): Headers
Please login to merge, or discard this patch.
src/Interfaces/IHeaders.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,13 +18,14 @@
 block discarded – undo
18 18
 
19 19
     /**
20 20
      * instanciate
21
+     * @return void
21 22
      */
22 23
     public function __construct();
23 24
 
24 25
     /**
25 26
      * add one header formaly done with given key and content
26 27
      *
27
-     * @return string
28
+     * @return Headers
28 29
      */
29 30
     public function add(string $key, string $content): Headers;
30 31
 
Please login to merge, or discard this patch.
src/Interfaces/IRequest.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * instanciate
31
+     * @return void
31 32
      */
32 33
     public function __construct();
33 34
 
@@ -50,7 +51,7 @@  discard block
 block discarded – undo
50 51
     /**
51 52
      * returns http param for a given key
52 53
      *
53
-     * @return array
54
+     * @return string
54 55
      */
55 56
     public function getParam(string $key): string;
56 57
 
Please login to merge, or discard this patch.
src/Interfaces/IResponse.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\Interfaces;
4 4
 
5
-use Nymfonya\Component\Http\Response;
6 5
 use Nymfonya\Component\Http\Headers;
7 6
 use Nymfonya\Component\Http\Interfaces\IStatus;
7
+use Nymfonya\Component\Http\Response;
8 8
 
9 9
 interface IResponse extends IStatus
10 10
 {
Please login to merge, or discard this patch.
src/Interfaces/IRoute.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/IRouter.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,8 +14,9 @@
 block discarded – undo
14 14
     /**
15 15
      * instanciate
16 16
      *
17
-     * @param array $routes
17
+     * @param IRoutes $routes
18 18
      * @param IRequest $request
19
+     * @return Router
19 20
      */
20 21
     public function __construct(IRoutes $routes, IRequest $request);
21 22
 
Please login to merge, or discard this patch.
src/Interfaces/IRoutes.php 1 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 Routes
13 14
      */
14 15
     public function __construct(array $routes);
15 16
 
Please login to merge, or discard this patch.
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/Middleware.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,6 @@
 block discarded – undo
56 56
      * Run middleware around core function and pass an
57 57
      * object through it
58 58
      *
59
-     * @param  Container $container
60 59
      * @param  Closure $core
61 60
      * @return mixed
62 61
      */
Please login to merge, or discard this patch.