@@ -33,7 +33,7 @@ |
||
33 | 33 | public function normalizePathSeparator(string $path): string |
34 | 34 | { |
35 | 35 | $path = preg_replace('#(\\\|\/)#', DIRECTORY_SEPARATOR, $path); |
36 | - return preg_replace('#' . DIRECTORY_SEPARATOR . '{2,}#', DIRECTORY_SEPARATOR, $path); |
|
36 | + return preg_replace('#'.DIRECTORY_SEPARATOR.'{2,}#', DIRECTORY_SEPARATOR, $path); |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | ); |
77 | 77 | } |
78 | 78 | list($this->name, $this->extension) = $pathHelper->splitFilename($filename); |
79 | - $this->hasExtension = (bool)$this->extension; |
|
79 | + $this->hasExtension = (bool) $this->extension; |
|
80 | 80 | } |
81 | 81 | |
82 | 82 | /** |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | if (false === $this->hasExtension()) { |
207 | 207 | return $this->name; |
208 | 208 | } |
209 | - return $this->name . static::EXTENSION_SEPARATOR . $this->extension; |
|
209 | + return $this->name.static::EXTENSION_SEPARATOR.$this->extension; |
|
210 | 210 | } |
211 | 211 | |
212 | 212 | /** |