Completed
Push — 1.x ( df6631...be02b7 )
by Akihito
14s queued 12s
created
src/Provide/Router/WebRouter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         $method = \strtolower($server['REQUEST_METHOD']);
34 34
         $match = new RouterMatch;
35 35
         $match->method = $method;
36
-        $match->path = $this->schemeHost . \parse_url($server['REQUEST_URI'], PHP_URL_PATH);
36
+        $match->path = $this->schemeHost.\parse_url($server['REQUEST_URI'], PHP_URL_PATH);
37 37
         $match->query = ($method === 'get') ? $globals['_GET'] : $this->getUnsafeQuery($method, $globals, $server);
38 38
 
39 39
         return $match;
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
             return $put;
65 65
         }
66 66
         $isApplicationJson = strpos($contentType, 'application/json') !== false;
67
-        if (! $isApplicationJson) {
67
+        if (!$isApplicationJson) {
68 68
             return [];
69 69
         }
70 70
         $content = json_decode($rawBody, true);
Please login to merge, or discard this patch.