@@ -8,8 +8,6 @@ |
||
| 8 | 8 | use Psr\Log\LoggerTrait; |
| 9 | 9 | use Psr\Log\LogLevel; |
| 10 | 10 | use Spiral\Core\Traits\SharedTrait; |
| 11 | -use Spiral\Database\Builders\SelectQuery; |
|
| 12 | -use Spiral\Debug\Snapshot; |
|
| 13 | 11 | |
| 14 | 12 | /** |
| 15 | 13 | * @property \Spiral\Core\MemoryInterface $memory |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spiral\Tests\LogViewer; |
| 4 | 4 | |
| 5 | -use Psr\Log\LogLevel; |
|
| 6 | 5 | use Spiral\Debug\Snapshot; |
| 7 | 6 | use Spiral\Debug\Traits\LoggerTrait; |
| 8 | 7 | use Spiral\LogViewer\Entities\LogFile; |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | */ |
| 55 | 55 | public function lastLog() |
| 56 | 56 | { |
| 57 | - $files = $this->finder->files()->in($this->config->directories())->sort(function ($a, $b) { |
|
| 57 | + $files = $this->finder->files()->in($this->config->directories())->sort(function($a, $b) { |
|
| 58 | 58 | /** |
| 59 | 59 | * @var SplFileInfo $a |
| 60 | 60 | * @var SplFileInfo $b |