Completed
Push — master ( 90174b...a197f9 )
by Changwan
03:50
created
src/Wandu/Router/Dispatcher.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace Wandu\Router;
3 3
 
4 4
 use Closure;
5
-use FastRoute\Dispatcher as FastDispatcher;
6 5
 use Psr\Http\Message\ServerRequestInterface;
7 6
 use Wandu\Router\Contracts\LoaderInterface;
8 7
 use Wandu\Router\Contracts\ResponsifierInterface;
Please login to merge, or discard this patch.
src/Wandu/Router/Route.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      * @param string $className
28 28
      * @param string $methodName
29 29
      * @param array $middlewares
30
-     * @param array $domains
30
+     * @param string $domains
31 31
      */
32 32
     public function __construct($className, $methodName, array $middlewares = [], array $domains = [])
33 33
     {
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     }
84 84
 
85 85
     /**
86
-     * @return array
86
+     * @return string
87 87
      */
88 88
     public function getDomains()
89 89
     {
Please login to merge, or discard this patch.
src/Wandu/Http/Factory/ResponseFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     }
139 139
 
140 140
     /**
141
-     * @param \Psr\Http\Message\UriInterface|string $path
141
+     * @param string $path
142 142
      * @param int $status
143 143
      * @param array $headers
144 144
      * @return \Psr\Http\Message\ResponseInterface
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use Closure;
5 5
 use Generator;
6 6
 use InvalidArgumentException;
7
-use JsonSerializable;
8 7
 use Psr\Http\Message\ResponseInterface;
9 8
 use Psr\Http\Message\StreamInterface;
10 9
 use Psr\Http\Message\UriInterface;
Please login to merge, or discard this patch.