@@ -157,10 +157,10 @@ discard block |
||
| 157 | 157 | protected function getLocalUri($path) |
| 158 | 158 | { |
| 159 | 159 | if (preg_match('/^[A-Z]:/', $path)) { |
| 160 | - $path = '/' . strtr($path, '\\', '/'); |
|
| 160 | + $path = '/'.strtr($path, '\\', '/'); |
|
| 161 | 161 | } |
| 162 | 162 | |
| 163 | - return 'file://' . $path; |
|
| 163 | + return 'file://'.$path; |
|
| 164 | 164 | } |
| 165 | 165 | |
| 166 | 166 | /** |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | private function dump($variable) |
| 174 | 174 | { |
| 175 | 175 | if (defined('JSON_PRETTY_PRINT')) { |
| 176 | - $options = JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES; |
|
| 176 | + $options = JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES; |
|
| 177 | 177 | |
| 178 | 178 | if (defined('JSON_PRESERVE_ZERO_FRACTION')) { |
| 179 | 179 | $options |= JSON_PRESERVE_ZERO_FRACTION; |
@@ -201,7 +201,7 @@ |
||
| 201 | 201 | } |
| 202 | 202 | |
| 203 | 203 | if ($this->parts['scheme'] === 'file' && preg_match('/^[A-Z]:/', $this->parts['path'])) { |
| 204 | - $this->parts['path'] = '/' . $this->parts['path']; |
|
| 204 | + $this->parts['path'] = '/'.$this->parts['path']; |
|
| 205 | 205 | } |
| 206 | 206 | |
| 207 | 207 | $this->authority = $this->buildAuthority(); |