Completed
Push — 1.x ( 0d0849...4327e3 )
by Akihito
13s
created
src/Provide/Router/WebRouter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         $method = \strtolower($server['REQUEST_METHOD']);
39 39
         list($request->method, $request->path, $request->query) = [
40 40
             $method,
41
-            $this->schemeHost . \parse_url($server['REQUEST_URI'], PHP_URL_PATH),
41
+            $this->schemeHost.\parse_url($server['REQUEST_URI'], PHP_URL_PATH),
42 42
             ($method === 'get') ? $globals['_GET'] : $globals['_POST']
43 43
         ];
44 44
 
Please login to merge, or discard this patch.
src/Provide/Error/VndError.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 
75 75
     private function isCodeExists(\Exception $e) : bool
76 76
     {
77
-        if (! ($e instanceof NotFound) && ! ($e instanceof BadRequest) && ! ($e instanceof ServerError)) {
77
+        if (!($e instanceof NotFound) && !($e instanceof BadRequest) && !($e instanceof ServerError)) {
78 78
             return false;
79 79
         }
80 80
 
Please login to merge, or discard this patch.
src/Extension/Router/RouterMatch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,6 +31,6 @@
 block discarded – undo
31 31
     {
32 32
         $querySymbol = $this->query ? '?' : '';
33 33
 
34
-        return "{$this->method} {$this->path}{$querySymbol}" . \http_build_query($this->query);
34
+        return "{$this->method} {$this->path}{$querySymbol}".\http_build_query($this->query);
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
src/Provide/Transfer/HttpResponder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
         }
22 22
 
23 23
         // render
24
-        if (! $ro->view) {
24
+        if (!$ro->view) {
25 25
             $ro->toString();
26 26
         }
27 27
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
         // header
63 63
         foreach ($ro->headers as $label => $value) {
64
-            if (! in_array($label, $mustGenerateHeaders, true)) {
64
+            if (!in_array($label, $mustGenerateHeaders, true)) {
65 65
                 continue;
66 66
             }
67 67
 
Please login to merge, or discard this patch.