Passed
Push — master ( 8dff14...c32be4 )
by Ben
08:14
created
src/Root.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@  discard block
 block discarded – undo
40 40
     #[Pure]
41 41
     public function get(): string
42 42
     {
43
-        return $this->composeScheme() .
44
-                $this->host() .
43
+        return $this->composeScheme().
44
+                $this->host().
45 45
                 ($this->port() ? ':'.$this->port : null);
46 46
     }
47 47
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
 
105 105
     private static function parse(string $url): array
106 106
     {
107
-        if (in_array($url, ['//','/'])) {
107
+        if (in_array($url, ['//', '/'])) {
108 108
             return [
109 109
                 'scheme' => null,
110 110
                 'host' => null,
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
             return $parsed['host'];
154 154
         }
155 155
 
156
-        if (! isset($parsed['path'])) {
156
+        if ( ! isset($parsed['path'])) {
157 157
             return null;
158 158
         }
159 159
 
Please login to merge, or discard this patch.
src/Url.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
 
135 135
     private function delocalizePath(array $available_locales): string
136 136
     {
137
-        if (! $this->parsedUrl->hasPath()) {
137
+        if ( ! $this->parsedUrl->hasPath()) {
138 138
             return '';
139 139
         }
140 140
 
Please login to merge, or discard this patch.