@@ -35,16 +35,16 @@ |
||
| 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); |