Passed
Push — master ( 0ad423...09f67c )
by Valentin
01:35
created
source/Snapshotter/FileHandler/Services/SnapshotService.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,16 +35,16 @@
 block discarded – undo
35 35
      */
36 36
     public function getSnapshots(): PaginableArray
37 37
     {
38
-        $order = [];
39
-        $snapshots = [];
38
+        $order = [ ];
39
+        $snapshots = [ ];
40 40
 
41 41
         if (!$this->files->exists($this->config->reportingDirectory())) {
42 42
             return new PaginableArray();
43 43
         }
44 44
 
45 45
         foreach ($this->files->getFiles($this->config->reportingDirectory(), '*.html') as $file) {
46
-            $snapshots[] = new FileSnapshot($file);
47
-            $order[] = $this->files->time($file);
46
+            $snapshots[ ] = new FileSnapshot($file);
47
+            $order[ ] = $this->files->time($file);
48 48
         }
49 49
 
50 50
         array_multisort($order, SORT_DESC, $snapshots);
Please login to merge, or discard this patch.