Completed
Push — 1.x ( aca176...482add )
by Akihito
18s queued 10s
created
src/Extension/Router/RouterMatch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
33 33
     {
34 34
         $querySymbol = $this->query ? '?' : '';
35 35
 
36
-        return "{$this->method} {$this->path}{$querySymbol}" . http_build_query($this->query);
36
+        return "{$this->method} {$this->path}{$querySymbol}".http_build_query($this->query);
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
src/Provide/Router/WebRouter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
         $method = strtolower($server['REQUEST_METHOD']);
39 39
         $match = new RouterMatch;
40 40
         $match->method = $method;
41
-        $match->path = $this->schemeHost . parse_url($server['REQUEST_URI'], PHP_URL_PATH);
41
+        $match->path = $this->schemeHost.parse_url($server['REQUEST_URI'], PHP_URL_PATH);
42 42
         $match->query = ($method === 'get') ? $globals['_GET'] : $this->getUnsafeQuery($method, $globals, $server);
43 43
 
44 44
         return $match;
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             return $put;
77 77
         }
78 78
         $isApplicationJson = strpos($contentType, 'application/json') !== false;
79
-        if (! $isApplicationJson) {
79
+        if (!$isApplicationJson) {
80 80
             return [];
81 81
         }
82 82
         /** @var array<string, mixed> $content */
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
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
     private function isCodeExists(Exception $e) : bool
86 86
     {
87
-        if (! ($e instanceof NotFound) && ! ($e instanceof BadRequest) && ! ($e instanceof ServerError)) {
87
+        if (!($e instanceof NotFound) && !($e instanceof BadRequest) && !($e instanceof ServerError)) {
88 88
             return false;
89 89
         }
90 90
 
Please login to merge, or discard this patch.