@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | { |
219 | 219 | $lines = file($filename, FILE_IGNORE_NEW_LINES); |
220 | 220 | |
221 | - if(!$lines) { |
|
221 | + if (!$lines) { |
|
222 | 222 | return []; |
223 | 223 | } |
224 | 224 | |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | */ |
237 | 237 | public function fileNameWithExtension(string $path): string |
238 | 238 | { |
239 | - return (string)pathinfo($path, PATHINFO_BASENAME); |
|
239 | + return (string) pathinfo($path, PATHINFO_BASENAME); |
|
240 | 240 | } |
241 | 241 | |
242 | 242 | /** |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | */ |
247 | 247 | public function fileName(string $path): string |
248 | 248 | { |
249 | - return (string)pathinfo($path, PATHINFO_FILENAME); |
|
249 | + return (string) pathinfo($path, PATHINFO_FILENAME); |
|
250 | 250 | } |
251 | 251 | |
252 | 252 | /** |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | */ |
257 | 257 | public function extension(string $path): string |
258 | 258 | { |
259 | - return (string)pathinfo($path, PATHINFO_EXTENSION); |
|
259 | + return (string) pathinfo($path, PATHINFO_EXTENSION); |
|
260 | 260 | } |
261 | 261 | |
262 | 262 | /** |