Completed
Push — master ( 91d83f...255971 )
by Matthew
02:37
created
src/Fyuze/Http/Message/ServerRequest.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,6 @@
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * ServerRequest constructor.
42
-     * @param string $uri
43
-     * @param string $method
44 42
      * @param array $server
45 43
      */
46 44
     public function __construct($server = [])
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
 namespace Fyuze\Http\Message;
3 3
 
4 4
 use Psr\Http\Message\ServerRequestInterface;
5
-use Psr\Http\Message\UriInterface;
6 5
 
7 6
 class ServerRequest extends Request implements ServerRequestInterface
8 7
 {
Please login to merge, or discard this patch.
src/Fyuze/Routing/Router.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,9 +41,9 @@
 block discarded – undo
41 41
      */
42 42
     protected function match(ServerRequestInterface $request)
43 43
     {
44
-        return array_filter($this->routes->getRoutes(), function (Route $route) use ($request) {
44
+        return array_filter($this->routes->getRoutes(), function(Route $route) use ($request) {
45 45
             $match = $route->matches($request);
46
-            if(false !== $match) {
46
+            if (false !== $match) {
47 47
                 return $route->setParams($match);
48 48
             }
49 49
         });
Please login to merge, or discard this patch.