Passed
Push — master ( dc4f61...c6f836 )
by Arman
04:22 queued 16s
created
src/Libraries/Storage/Adapters/Local/LocalFileSystemAdapter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.