@@ -143,8 +143,8 @@ |
||
143 | 143 | public function getRotations() |
144 | 144 | { |
145 | 145 | $rotations = $this->rotations; |
146 | - usort($rotations, function ($a, $b) { |
|
147 | - return $b->getFile()->getMTime()-$a->getFile()->getMTime(); |
|
146 | + usort($rotations, function($a, $b) { |
|
147 | + return $b->getFile()->getMTime() - $a->getFile()->getMTime(); |
|
148 | 148 | }); |
149 | 149 | |
150 | 150 | return $rotations; |
@@ -71,7 +71,7 @@ |
||
71 | 71 | */ |
72 | 72 | public function findLastLog() |
73 | 73 | { |
74 | - $files = $this->finder->files()->in($this->directory)->sort(function ($a, $b) { |
|
74 | + $files = $this->finder->files()->in($this->directory)->sort(function($a, $b) { |
|
75 | 75 | return $b->getMTime() - $a->getMTime(); |
76 | 76 | }); |
77 | 77 |